1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/sogo_ynh.git synced 2024-09-03 20:26:07 +02:00

fix backup

This commit is contained in:
Josué Tille 2022-05-29 00:17:59 +02:00
parent 5b5309058f
commit f87ac27c3b
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
2 changed files with 0 additions and 8 deletions

View file

@ -48,12 +48,6 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_backup --src_path="/etc/logrotate.d/$app"
#=================================================
# BACKUP SYSTEMD
#=================================================
ynh_backup --src_path="/etc/systemd/system/$app.service"
#=================================================
# BACKUP SOGo CONFIGURATION
#=================================================

View file

@ -88,8 +88,6 @@ chmod u=rwX,g=rX,o= -R /var/log/$app
# RESTORE SYSTEMD
#=================================================
ynh_script_progression --message="Restoring the systemd configuration..." --weight=1
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable $app.service --quiet
#=================================================