diff --git a/scripts/backup b/scripts/backup index cfda8b7..c288a49 100755 --- a/scripts/backup +++ b/scripts/backup @@ -39,7 +39,7 @@ ynh_backup "$data_dir" # Backup the PHP-FPM configuration ynh_backup "/etc/php/$php_version/fpm/pool.d/$app.conf" -# Backup the nginx configuration +# Backup the NGINX configuration ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf" # Backup the systemd service unit diff --git a/scripts/install b/scripts/install index 48d5b80..e69da9e 100755 --- a/scripts/install +++ b/scripts/install @@ -24,7 +24,7 @@ source /usr/share/yunohost/helpers ### ... ### ### $app is the app id (i.e. 'example' for first install, -### or 'example__2', '__3', ... for multi-instance installs) +### or 'example__2', '__3'... for multi-instance installs) #================================================= # INITIALIZE AND STORE SETTINGS @@ -48,7 +48,7 @@ ynh_script_progression "Setting up source files..." ynh_setup_source --dest_dir="$install_dir" ### $install_dir will automatically be initialized with some decent -### permission by default ... however, you may need to recursively reapply +### permission by default... however, you may need to recursively reapply ### ownership to all files such as after the ynh_setup_source step chown -R "$app:www-data" "$install_dir" diff --git a/scripts/remove b/scripts/remove index f2dc539..85ffd78 100755 --- a/scripts/remove +++ b/scripts/remove @@ -16,7 +16,7 @@ source /usr/share/yunohost/helpers ### - $port ### ... -### For remove operations : +### For remove operations: ### - the core will deprovision every resource defined in the manifest **after** this script is ran ### this includes removing the install directory, and data directory (if --purge was used) @@ -41,7 +41,7 @@ ynh_config_remove_nginx ynh_config_remove_phpfpm -# Remove other various files specific to the app... such as : +# Remove other various files specific to the app... such as: ynh_safe_rm "/etc/cron.d/$app" diff --git a/scripts/restore b/scripts/restore index f9cd974..e2f541a 100755 --- a/scripts/restore +++ b/scripts/restore @@ -16,7 +16,7 @@ ynh_script_progression "Restoring the app main directory..." ynh_restore "$install_dir" ### $install_dir will automatically be initialized with some decent -### permissions by default ... however, you may need to recursively reapply +### permissions by default... however, you may need to recursively reapply ### ownership to all files such as after the ynh_setup_source step chown -R "$app:www-data" "$install_dir" @@ -80,7 +80,7 @@ ynh_restore "/var/log/$app/" #================================================= ynh_script_progression "Reloading NGINX web server and $app's service..." -### Typically you only have either $app or php-fpm but not both at the same time... +### Typically you only have either $app or PHP-FPM but not both at the same time... ynh_systemctl --service="$app" --action="start" ynh_systemctl --service="php$php_version-fpm" --action=reload diff --git a/scripts/upgrade b/scripts/upgrade index b3b193d..45d4ee7 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -62,7 +62,7 @@ ynh_script_progression "Upgrading source files..." ynh_setup_source --dest_dir="$install_dir" --full_replace --keep=".env data" ### $install_dir will automatically be initialized with some decent -### permissions by default ... however, you may need to recursively reapply +### permissions by default... however, you may need to recursively reapply ### ownership to all files such as after the ynh_setup_source step chown -R "$app:www-data" "$install_dir"