소스 검색

log audit events

Girish Ramakrishnan 7 년 전
부모
커밋
c8eca300d8
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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=-