1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/scrumblr_ynh.git synced 2024-09-03 20:16:29 +02:00

reload systemd after service file change

This commit is contained in:
Tobias Ollive 2021-12-30 15:14:08 +01:00
parent da6cf36fd7
commit 2ff74f2fbc

View file

@ -110,6 +110,7 @@ ynh_script_progression --message="Updating systemd configuration..." --weight=1
if [ $change_path -eq 1 ]
then
ynh_replace_string --match_string=$old_path --replace_string=$new_path --target_file="/etc/systemd/system/$app.service"
systemctl deamon-reload
fi
#=================================================