From c7f714917a436fb3dab519866c9d06b639c132df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 1 Feb 2024 16:50:39 +0100 Subject: [PATCH] debug --- manifest.toml | 3 +++ scripts/install | 4 ++++ scripts/remove | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/manifest.toml b/manifest.toml index 81eb1bd..4dc1fb1 100644 --- a/manifest.toml +++ b/manifest.toml @@ -91,4 +91,7 @@ ram.runtime = "500M" "dmeventd", "lxc", "tcl8.6", + + # For debuging + "iproute2", ] diff --git a/scripts/install b/scripts/install index 3bf9c53..578f943 100755 --- a/scripts/install +++ b/scripts/install @@ -61,8 +61,12 @@ ynh_add_systemd_socket_config ynh_add_systemd_config yunohost service add "$app" --log="/var/log/$app/$app.log" +ynh_exec_warn ss -lp "sport = :domain" + _ynh_add_dnsmasq +ynh_exec_warn ss -lp "sport = :domain" + _ynh_add_ld_so _ynh_set_subuid_subgid diff --git a/scripts/remove b/scripts/remove index ddcfe5d..317f09a 100755 --- a/scripts/remove +++ b/scripts/remove @@ -27,8 +27,12 @@ _ynh_remove_ld_so _ynh_unset_subuid_subgid +ynh_exec_warn ss -lp "sport = :domain" + _ynh_remove_dnsmasq +ynh_exec_warn ss -lp "sport = :domain" + #================================================= # REMOVE CONTAINERS #=================================================