mirror of
https://github.com/YunoHost-Apps/restic_ynh.git
synced 2024-09-03 20:16:22 +02:00
fix: disable services since they will be started by the timer
This commit is contained in:
parent
da5a693d16
commit
9971c585e4
1 changed files with 3 additions and 0 deletions
|
@ -65,6 +65,9 @@ ynh_add_systemd_config --service=${app}_check_read_data --template=systemd_check
|
|||
ynh_configure systemd.timer "/etc/systemd/system/${app}.timer"
|
||||
ynh_configure systemd_check.timer "/etc/systemd/system/${app}_check.timer"
|
||||
ynh_configure systemd_check_read_data.timer "/etc/systemd/system/${app}_check_read_data.timer"
|
||||
systemctl disable ${app}.service
|
||||
systemctl disable ${app}_check.service
|
||||
systemctl disable ${app}_check_read_data.service
|
||||
systemctl enable ${app}.timer
|
||||
systemctl enable ${app}_check.timer
|
||||
systemctl enable ${app}_check_read_data.timer
|
||||
|
|
Loading…
Add table
Reference in a new issue