From 08958e6897fabc01e4bec58167d82272529ffcba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sat, 25 May 2024 12:30:33 +0200 Subject: [PATCH] fix unit name --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 0493634..04f7352 100755 --- a/scripts/install +++ b/scripts/install @@ -67,8 +67,8 @@ for suffix in "${systemd_services_suffixes[@]}"; do ynh_add_systemd_config --service="$app$suffix" --template="systemd$suffix.service" _ynh_add_config_j2 --template="systemd$suffix.timer.j2" --destination="/etc/systemd/system/$app$suffix.timer" systemctl disable --quiet "${app}$suffix.service" - systemctl enable --quiet "${app}$suffix.time" - systemctl start --quiet "${app}$suffix.time" + systemctl enable --quiet "${app}$suffix.timer" + systemctl start --quiet "${app}$suffix.timer" yunohost service add "$app$suffix" --description="Restic backup program ($app$suffix)" \ --test_status="systemctl show $app$suffix.service -p ActiveState --value | grep -v failed"