1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotify_ynh.git synced 2024-09-03 20:36:26 +02:00

Small typos

This commit is contained in:
ericgaspar 2020-11-30 15:07:53 +01:00
parent e1ec9f7ca3
commit e28af46145
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 8 additions and 4 deletions

View file

@ -95,13 +95,13 @@ yunohost service add $app
ynh_script_progression --message="Restoring service..." --weight=10
ynh_restore_file "/etc/systemd/system/$app.service"
systemctl enable $app.service
systemctl enable $app.service --quiet
systemctl start $app
#=================================================
# GENERIC FINALIZATION
#=================================================
ynh_script_progression --message="Reloading NGINX web server ..." --weight=1
ynh_script_progression --message="Reloading NGINX web server..." --weight=1
systemctl reload nginx

View file

@ -88,7 +88,7 @@ ynh_setup_source "$final_path" $architecture
#=================================================
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=2
# Create a dedicated nginx config
# Create a dedicated NGINX config
if [ "$path_url" != "/" ]
then
ynh_replace_string "^#sub_path_only" "" "../conf/nginx.conf"
@ -179,6 +179,10 @@ systemctl restart $app
#=================================================
ynh_script_progression --message="Reloading NGINX web server..." --weight=1
systemctl reload nginx
ynh_systemd_action --service_name=nginx --action=reload
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression --message="Upgrade of $app completed" --last