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:
parent
27aa5b1325
commit
fa7c984a56
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue