From 73059a1b1fb018e8ad102ec3354ce7f96db99052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 1 Feb 2024 18:25:32 +0100 Subject: [PATCH] restart lxc in case it was used in the system already --- scripts/remove | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 36820d0..77d2f98 100755 --- a/scripts/remove +++ b/scripts/remove @@ -23,7 +23,7 @@ fi ynh_exec_warn_less ynh_remove_systemd_socket_config ynh_exec_warn_less ynh_remove_systemd_config -# Stop LXC systemd services +# Stop LXC systemd services, just for dnsmasq. ynh_systemd_action --service_name="lxc-net" --action="stop" ynh_systemd_action --service_name="lxc" --action="stop" @@ -37,6 +37,10 @@ _ynh_remove_dnsmasq ynh_exec_warn ss -lp "sport = :domain" +# Stop LXC systemd services, just for dnsmasq. +ynh_systemd_action --service_name="lxc-net" --action="start" +ynh_systemd_action --service_name="lxc" --action="start" + #================================================= # REMOVE CONTAINERS #=================================================