mirror of
https://github.com/YunoHost-Apps/scrumblr_ynh.git
synced 2024-09-03 20:16:29 +02:00
change systemd service for change url
This commit is contained in:
parent
57e5524828
commit
db4a443da8
1 changed files with 9 additions and 0 deletions
|
@ -101,6 +101,15 @@ then
|
|||
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf"
|
||||
fi
|
||||
|
||||
|
||||
#=================================================
|
||||
# CHANGE SYSTEMD SERVICE
|
||||
#=================================================
|
||||
if [ $change_path -eq 1 ]
|
||||
then
|
||||
ynh_replace_string --match-string=$old_path --replace-string=$new_path --target-file="/etc/systemd/system/$app.service"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALISATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue