From 20a21af4974cb4b14e6c55de0dce807445994283 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 7 Jun 2022 23:23:47 +0200 Subject: [PATCH] Update restore --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index e84ca84..284c983 100644 --- a/scripts/restore +++ b/scripts/restore @@ -124,7 +124,7 @@ ynh_replace_string --match_string=__APP__ --replace_string=$app --target_file=/e # reload, create, enable and start stuff systemctl daemon-reload systemd-tmpfiles --create -systemctl enable "$app_web" "$app_sidekiq" "$app.target" --quiet +systemctl enable "${app}_web" "${app}_sidekiq" "$app.target" --quiet #================================================= # INTEGRATE SERVICE IN YUNOHOST