refs #2028 send stunnel output to a log
parent
6c88096eae
commit
3d2f06d577
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue