From b082c4079c3b3830af0aabaca32713c8ba026f59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 31 Jan 2024 00:11:30 +0100 Subject: [PATCH] oops --- scripts/install | 2 -- scripts/restore | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index d3a6f83..fdee59c 100755 --- a/scripts/install +++ b/scripts/install @@ -56,8 +56,6 @@ chmod -R 750 "/var/log/$app" #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_exec_warn nginx -t - ynh_systemd_action --service_name="$app" --action="restart" --log_path="systemd" ynh_systemd_action --service_name="stunnel4" --action="restart" --log_path="systemd" diff --git a/scripts/restore b/scripts/restore index a07e16b..dd1e68f 100755 --- a/scripts/restore +++ b/scripts/restore @@ -29,7 +29,7 @@ ynh_restore_file --origin_path="/etc/$app" chown -R "$app:$app" "/etc/$app" chmod -R 750 "/etc/$app" -ynh_backup --src_path="/etc/stunnel/$app.conf" +ynh_restore_file --origin_path="/etc/stunnel/$app.conf" ynh_restore_file --origin_path="/etc/cron.d/$app"