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

3 lines
177 B
Bash
Raw Normal View History

2015-02-06 17:01:50 +00:00
#!/bin/bash
export SHARELATEX_CONFIG=/etc/sharelatex/settings.coffee
2016-05-27 11:55:18 +00:00
exec /sbin/setuser www-data /usr/bin/node /var/www/sharelatex/web/app.js >> /var/log/sharelatex/web.log 2>&1