1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ladder_ynh.git synced 2024-09-03 19:26:23 +02:00

Fix restore script

This commit is contained in:
Gildas 2023-12-23 17:13:16 +01:00
parent 27aa5b1325
commit fa7c984a56

View file

@ -26,6 +26,9 @@ ynh_script_progression --message="Restoring system configurations related to $ap
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
mkdir -p /var/log/$app
chown -R $app:www-data /var/log/$app
ynh_restore_file --origin_path="/etc/systemd/system/$app.service" ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable $app.service --quiet systemctl enable $app.service --quiet