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

Fix change_url

This commit is contained in:
mhfowler 2021-10-11 10:20:32 +02:00
parent c4eb928934
commit 33ed665f6e

View file

@ -98,6 +98,9 @@ then
mv $nginx_conf_path /etc/nginx/conf.d/$new_domain.d/$app.conf
# Store file checksum for the new config file location
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf"
# replace domain in systemd service file
ynh_replace_string --match_string=$old_domain --replace_string=$new_domain --target_file=/etc/systemd/system/$app.service
systemctl daemon-reload
fi
#=================================================