minor typos

This commit is contained in:
Éric Gaspar 2024-09-03 13:55:06 +02:00 committed by Félix Piédallu
parent cfe872b50e
commit f7ea228df8
5 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -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"