1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/komga_ynh.git synced 2024-09-03 19:36:07 +02:00

adding change systemd

This commit is contained in:
Navan Chauhan 2021-03-09 17:34:32 +05:30
parent 48d8f7f17f
commit dfc581676d

View file

@ -69,9 +69,9 @@ fi
# STOP SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action=stop --log_path="/var/log/$app/$app.log"
ynh_replace_string --match_string="$YNH_APP_OLD_PATH" --replace_string="$YNH_APP_NEW_PATH" --target_file="/etc/systemd/system/$app.service"
systemctl daemon-reload
#=================================================
# MODIFY URL IN NGINX CONF
#=================================================