Explorar el Código

log audit events

Girish Ramakrishnan hace 7 años
padre
commit
c8eca300d8
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      start.sh

+ 2 - 1
start.sh

@@ -23,6 +23,7 @@ sed -e 's,<gui .*>,<gui enabled="true" tls="false" debugging="false">,' -i /app/
 chown -R cloudron:cloudron /app/data/config /app/data
 
 # -no-browser opens up the browser (for desktop app preumably)
+# auditfile "-" means log to stdout
 echo "=> Starting syncthing"
-STNOUPGRADE=1 exec /usr/local/bin/gosu cloudron:cloudron /app/code/syncthing -gui-address=0.0.0.0:3000 -home=/app/data/config -no-browser
+STNOUPGRADE=1 exec /usr/local/bin/gosu cloudron:cloudron /app/code/syncthing -gui-address=0.0.0.0:3000 -home=/app/data/config -no-browser -auditfile=-