From e2381bfde5b72cdd70e844f5e96747c8bdcb19b7 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Wed, 29 Apr 2020 14:13:52 +0200 Subject: [PATCH] Restore the systemd script --- scripts/restore | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/restore b/scripts/restore index 1b8f079..7f0a686 100644 --- a/scripts/restore +++ b/scripts/restore @@ -124,6 +124,7 @@ ynh_psql_execute_file_as_root --file="./db.sql" --database="$db_name" #================================================= ynh_print_info --message="Restoring the systemd configuration..." +ynh_restore_file --origin_path="/etc/systemd/system/$app.service" systemctl daemon-reload systemctl enable $app.service