From 3ae3c4b969e0f0a8c139a14d2fb2af0fb44ab366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Tue, 30 Jan 2024 10:52:49 +0100 Subject: [PATCH] Fix restore --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index e6918ed..ab78921 100755 --- a/scripts/restore +++ b/scripts/restore @@ -37,8 +37,8 @@ ynh_restore_file --origin_path="/etc/systemd/system/$app.service" systemctl enable "$app.service" --quiet yunohost service add "$app" --description="Loki daemon" --log="/var/log/$app/loki.log" -systemctl enable "$app-promtail.service" --quiet ynh_restore_file --origin_path="/etc/systemd/system/$app-promtail.service" +systemctl enable "$app-promtail.service" --quiet yunohost service add "$app-promtail" --description="Promtail daemon" --log="/var/log/$app/promtail.log" ynh_restore_file --origin_path="/etc/logrotate.d/$app"