overleaf/runit/real-time-sharelatex.sh

3 lines
191 B
Bash
Raw Normal View History

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