overleaf/runit/chat-sharelatex.sh
2016-05-27 12:55:18 +01:00

3 lines
No EOL
179 B
Bash
Executable file

#!/bin/bash
export SHARELATEX_CONFIG=/etc/sharelatex/settings.coffee
exec /sbin/setuser www-data /usr/bin/node /var/www/sharelatex/chat/app.js >> /var/log/sharelatex/chat.log 2>&1