added runit

This commit is contained in:
Henry Oswald 2016-08-05 15:18:35 +01:00
parent 6d7993722c
commit 0c8fc4982c

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