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:
parent
da6cf36fd7
commit
2ff74f2fbc
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue