overleaf/runit/contacts-sharelatex.sh

4 lines
184 B
Bash
Raw Normal View History

2016-09-21 17:09:53 +00:00
#!/bin/bash
export SHARELATEX_CONFIG=/etc/sharelatex/settings.coffee
exec /sbin/setuser www-data /usr/bin/node /var/www/sharelatex/contacts/app.js >> /var/log/sharelatex/contacts 2>&1