refs #2028 send stunnel output to a log

pull/40/head
Natalia Serrano 2025-05-18 11:19:56 +02:00
parent 6c88096eae
commit 3d2f06d577
1 changed files with 2 additions and 1 deletions

View File

@ -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.