From 0e9d3fe41297809505d12340898eb6dec60f2757 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Mon, 22 Mar 2021 22:38:18 +0100 Subject: [PATCH] Enable services during restore Co-authored-by: Alexandre Aubin --- scripts/restore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index c2c202e..267f725 100644 --- a/scripts/restore +++ b/scripts/restore @@ -114,7 +114,9 @@ ynh_restore_file --origin_path=/etc/systemd/system/wireguard_ui.service ynh_restore_file --origin_path=/etc/systemd/system/wireguard_ui_conf.path ynh_restore_file --origin_path=/etc/systemd/system/wireguard_ui_conf.service +systemctl enable --quiet wireguard_ui.service systemctl enable --quiet wireguard_ui_conf.path +systemctl enable --quiet wireguard_ui_conf.service #================================================= # INTEGRATE SERVICE IN YUNOHOST