From 9092dc732e0ea2d14cf9f24a2aae093d3a63bb4e Mon Sep 17 00:00:00 2001 From: Giovanni Pellerano Date: Wed, 17 Sep 2025 22:24:19 +0200 Subject: [PATCH] Simpligy globaleaks-install.sh This commits prevents the software to be started before disabling apparmor and network sandboxing --- install/globaleaks-install.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/install/globaleaks-install.sh b/install/globaleaks-install.sh index ade3df76..966eb32d 100644 --- a/install/globaleaks-install.sh +++ b/install/globaleaks-install.sh @@ -16,13 +16,9 @@ msg_info "Setup GlobaLeaks" DISTRO_CODENAME="$(awk -F= '/^VERSION_CODENAME=/{print $2}' /etc/os-release)" curl -fsSL https://deb.globaleaks.org/globaleaks.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/globaleaks.gpg echo "deb [signed-by=/etc/apt/trusted.gpg.d/globaleaks.gpg] http://deb.globaleaks.org $DISTRO_CODENAME/" >/etc/apt/sources.list.d/globaleaks.list +echo -ne 'APPARMOR_SANDBOXING=0\nNETWORK_SANDBOXING=0' >/etc/default/globaleaks $STD apt update $STD apt -y install globaleaks -systemctl stop globaleaks -echo 'APPARMOR_SANDBOXING=0' >>/etc/default/globaleaks -echo 'NETWORK_SANDBOXING=0' >>/etc/default/globaleaks -systemctl daemon-reexec -systemctl restart globaleaks msg_ok "Setup GlobaLeaks" motd_ssh