From 3d2f06d577ad76fe10eaec110a392165ff625e8f Mon Sep 17 00:00:00 2001 From: Natalia Serrano Date: Sun, 18 May 2025 11:19:56 +0200 Subject: [PATCH] refs #2028 send stunnel output to a log --- ogclient/etc/preinit/otherservices.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ogclient/etc/preinit/otherservices.sh b/ogclient/etc/preinit/otherservices.sh index 35d4899..4a74bc1 100755 --- a/ogclient/etc/preinit/otherservices.sh +++ b/ogclient/etc/preinit/otherservices.sh @@ -16,7 +16,8 @@ echo "${MSG_OTHERSERVICES:-.}" # Iniciar stunnel, si es necesario. if [ -e /etc/stunnel/menu.conf ]; then sed -i -e "s/__OGCORE_IP__/$ogcore/; s/__OGCORE_PORT__/8443/" /etc/stunnel/menu.conf - stunnel /etc/stunnel/menu.conf + mkdir -p /var/run/stunnel4; chown stunnel4:stunnel4 /var/run/stunnel4 + stunnel /etc/stunnel/menu.conf &>/var/log/stunnel4/menu.log & fi # Iniciar rsyslog, si es necesario.