log audit events

This commit is contained in:
Girish Ramakrishnan 2018-02-26 14:51:54 -08:00
parent 22f8c8625e
commit c8eca300d8
1 changed files with 2 additions and 1 deletions

View File

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