mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
fixes
This commit is contained in:
parent
f594bf4cd2
commit
fd9ec9dd41
3 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ ynh_backup --src_path="/etc/logrotate.d/$app"
|
||||||
# BACKUP VARIOUS FILES
|
# 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"
|
ynh_backup --src_path="/etc/systemd/system/$app-daemon.service"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -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"
|
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"
|
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ if [ -f "/etc/cron.d/$app" ]; then
|
||||||
ynh_secure_remove --file="/etc/cron.d/$app"
|
ynh_secure_remove --file="/etc/cron.d/$app"
|
||||||
fi
|
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"
|
yunohost service add "$app-daemon" --description="Friendica daemon" --log="/var/log/$app/daemon.log"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue