1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pairdrop_ynh.git synced 2024-09-03 19:56:16 +02:00
This commit is contained in:
Éric Gaspar 2023-10-08 15:12:16 +02:00
parent a28ab1abcd
commit 12fe8d55d5
2 changed files with 4 additions and 0 deletions

View file

@ -32,6 +32,8 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
# BACKUP LOGROTATE
#=================================================
ynh_backup --src_path="/var/log/$app"
ynh_backup --src_path="/etc/logrotate.d/$app"
#=================================================

View file

@ -39,6 +39,8 @@ adduser turnserver ssl-cert
ynh_restore_file --origin_path="/etc/$app"
ynh_restore_file --origin_path="/var/log/$app"
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"