forked from Git/send_ynh
		
	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