An overview of helper binaries/functions bundled as part of apnscp.
All shell built-ins are available via
Run an apnscp method under an optionally user-defined role.
# As admin of example.com, get all bandwidth usage cmd -d example.com bandwidth_get_all_composite_bandwidth_data
# Change password as user secondaryuser cmd -d example.com -u secondaryuser auth_change_password newrandompassword
# Automatically renew Let's Encrypt certificate for example.com as user admin cmd pman_schedule_api_cmd_admin example.com "" letsencrypt_renew # Alternatively: cmd -d example.com letsencrypt_renew
Get site name from domain. Same as “site” +
Get internal site ID from domain. Returns 1 on failure otherwise 0.
get_site_id example.com [[ $? -ne 0 ]] && echo "example.com doesn't exist"
Determine libraries linked against a binary. Used to resolve dependency problems when propagating a system package into the filesystem template.
All apnscp scripts are available under
/usr/local/apnscp/bin/php/scripts. All scripts make use of the apnscp CLI framework and require invocation with
apnscp_php to operate.
Bulk change DNS for an account.
Summarize apnscp changes.
Build PHP for apnscp. To run, change into PHP source directory, then run:
PHP will be built with apnscp module requirements.
General utility apxs wrapper to build modules specifically for apnscp. Installed modules will be placed under
sys/httpd/private/modules. Unless the module conflicts with global Apache instance, modules can be used from
sys/httpd/modules, which is a symlink to