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.