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:
parent
964d3b085c
commit
4558a90c91
3 changed files with 2 additions and 5 deletions
|
@ -122,6 +122,7 @@ ynh_script_progression --message="Configuring a systemd service..." --weight=1
|
|||
|
||||
# Create a dedicated systemd config
|
||||
ynh_add_systemd_config
|
||||
systemctl disable $app.service --quiet
|
||||
|
||||
#=================================================
|
||||
# CONFIGURE SYSTEMD TIMER
|
||||
|
|
|
@ -65,11 +65,6 @@ chown $app:$app "/usr/local/bin/backup-with-$app"
|
|||
systemctl enable $app.timer --quiet
|
||||
systemctl start $app.timer
|
||||
|
||||
#=================================================
|
||||
# RESTORE SYSTEMD
|
||||
#=================================================
|
||||
systemctl enable $app.service --quiet
|
||||
|
||||
#=================================================
|
||||
# INTEGRATE SERVICE IN YUNOHOST
|
||||
#=================================================
|
||||
|
|
|
@ -124,6 +124,7 @@ ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
|
|||
|
||||
# Create a dedicated systemd config
|
||||
ynh_add_systemd_config
|
||||
systemctl disable $app.service --quiet
|
||||
|
||||
#=================================================
|
||||
# CONFIGURE SYSTEMD TIMER
|
||||
|
|
Loading…
Add table
Reference in a new issue