1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/friendica_ynh.git synced 2024-09-03 18:36:14 +02:00

Update restore

This commit is contained in:
Éric Gaspar 2024-08-23 18:37:45 +02:00
parent 0c603f4d2a
commit 375b0a4a1c

View file

@ -42,9 +42,9 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable "$app-daemon.service" --quiet
systemctl enable "$app.service" --quiet
yunohost service add "$app-daemon" --description="Decentralized Social Network" --log="/var/log/$app/$app.log"
yunohost service add "$app" --description="Decentralized Social Network" --log="/var/log/$app/$app.log"
ynh_restore_file --origin_path="/var/log/$app"