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

Update backup

This commit is contained in:
Thomas 2023-07-10 08:33:33 +02:00 committed by GitHub
parent 8a905103f3
commit a7b279b68f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,19 +27,11 @@ ynh_backup --src_path="$install_dir"
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# SPECIFIC BACKUP
#=================================================
# BACKUP LOGROTATE
#=================================================
ynh_backup --src_path="/etc/logrotate.d/$app"
#=================================================
# BACKUP SYSTEMD
#=================================================
ynh_backup --src_path="/etc/systemd/system/$app.service"
ynh_backup --src_path="/etc/systemd/system/${app}.service"
#=================================================
# END OF SCRIPT