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 #=================================================