overleaf/server-ce/runit/chat-sharelatex.sh

3 lines
181 B
Bash
Raw Normal View History

2015-02-06 12:01:50 -05:00
#!/bin/bash
export SHARELATEX_CONFIG=/etc/sharelatex/settings.coffee
exec /sbin/setuser sharelatex /usr/bin/node /var/www/sharelatex/chat/app.js >> /var/log/sharelatex/chat.log 2>&1