added runit

This commit is contained in:
Henry Oswald 2016-08-05 15:18:35 +01:00
parent 40c4f281c1
commit dcdc56cbe2

View file

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