1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borg_ynh.git synced 2024-09-03 18:16:05 +02:00

[fix] Don't backup at boot

This commit is contained in:
ljf 2021-07-04 20:42:36 +02:00 committed by ljf (zamentur)
parent 964d3b085c
commit 4558a90c91
3 changed files with 2 additions and 5 deletions

View file

@ -122,6 +122,7 @@ ynh_script_progression --message="Configuring a systemd service..." --weight=1
# Create a dedicated systemd config # Create a dedicated systemd config
ynh_add_systemd_config ynh_add_systemd_config
systemctl disable $app.service --quiet
#================================================= #=================================================
# CONFIGURE SYSTEMD TIMER # CONFIGURE SYSTEMD TIMER

View file

@ -65,11 +65,6 @@ chown $app:$app "/usr/local/bin/backup-with-$app"
systemctl enable $app.timer --quiet systemctl enable $app.timer --quiet
systemctl start $app.timer systemctl start $app.timer
#=================================================
# RESTORE SYSTEMD
#=================================================
systemctl enable $app.service --quiet
#================================================= #=================================================
# INTEGRATE SERVICE IN YUNOHOST # INTEGRATE SERVICE IN YUNOHOST
#================================================= #=================================================

View file

@ -124,6 +124,7 @@ ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
# Create a dedicated systemd config # Create a dedicated systemd config
ynh_add_systemd_config ynh_add_systemd_config
systemctl disable $app.service --quiet
#================================================= #=================================================
# CONFIGURE SYSTEMD TIMER # CONFIGURE SYSTEMD TIMER