mirror of
https://github.com/YunoHost-Apps/send_ynh.git
synced 2025-09-06 03:52:59 +02:00
quoting vars
This commit is contained in:
@ -16,7 +16,7 @@ source /usr/share/yunohost/helpers
|
||||
#=================================================
|
||||
ynh_script_progression --message="Stopping a systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name=$app --action="stop"
|
||||
ynh_systemd_action --service_name="$app" --action="stop"
|
||||
|
||||
#=================================================
|
||||
# MODIFY URL IN NGINX CONF
|
||||
@ -36,7 +36,7 @@ domain=$new_domain
|
||||
ynh_add_config --template="../conf/config.js" --destination="$install_dir/server/config.js"
|
||||
|
||||
chmod 400 "$install_dir/server/config.js"
|
||||
chown $app:$app "$install_dir/server/config.js"
|
||||
chown "$app:$app" "$install_dir/server/config.js"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALISATION
|
||||
@ -46,7 +46,7 @@ chown $app:$app "$install_dir/server/config.js"
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
# Start a systemd service
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
|
||||
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
Reference in New Issue
Block a user