Pārlūkot izejas kodu

log audit events

Girish Ramakrishnan 7 gadi atpakaļ
vecāks
revīzija
c8eca300d8
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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=-