浏览代码

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=-