From 9971c585e4088179312796dbea0359e5c0761aaf Mon Sep 17 00:00:00 2001 From: Lionel Coupouchetty-Ramouchetty Date: Sat, 26 Sep 2020 13:57:04 +0200 Subject: [PATCH] fix: disable services since they will be started by the timer --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index 15f9f7e..66ef0d9 100755 --- a/scripts/install +++ b/scripts/install @@ -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