1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/friendica_ynh.git synced 2024-09-03 18:36:14 +02:00
This commit is contained in:
OniriCorpe 2024-02-14 05:19:37 +01:00
parent f594bf4cd2
commit fd9ec9dd41
3 changed files with 3 additions and 3 deletions

View file

@ -54,7 +54,7 @@ ynh_backup --src_path="/etc/logrotate.d/$app"
# BACKUP VARIOUS FILES
#=================================================
ynh_backup --src_path="/var/log/$app/daemon.log"
ynh_backup --src_path="/var/log/$app"
ynh_backup --src_path="/etc/systemd/system/$app-daemon.service"
#=================================================

View file

@ -40,7 +40,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
yunohost service add "$app-daemon" --description="Friendica daemon" --log="/var/log/$app/daemon.log"
ynh_restore_file --origin_path="/var/log/$app/daemon.log"
ynh_restore_file --origin_path="/var/log/$app"
ynh_restore_file --origin_path="/etc/logrotate.d/$app"

View file

@ -55,7 +55,7 @@ if [ -f "/etc/cron.d/$app" ]; then
ynh_secure_remove --file="/etc/cron.d/$app"
fi
ynh_add_systemd_config
ynh_add_systemd_config --service="$app-daemon"
yunohost service add "$app-daemon" --description="Friendica daemon" --log="/var/log/$app/daemon.log"