mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-10 06:39:01 +02:00
20 lines
502 B
Plaintext
20 lines
502 B
Plaintext
description "sharelatex-track-changes"
|
|
author "ShareLaTeX <team@sharelatex.com>"
|
|
|
|
start on started mountall
|
|
stop on shutdown
|
|
|
|
respawn
|
|
|
|
limit nofile 8192 8192
|
|
|
|
pre-start script
|
|
mkdir -p /var/log/sharelatex
|
|
end script
|
|
|
|
script
|
|
echo $$ > /var/run/sharelatex-track-changes.pid
|
|
chdir /var/www/sharelatex/track-changes
|
|
exec sudo -u sharelatex -g sharelatex env SHARELATEX_CONFIG=/etc/sharelatex/settings.coffee NODE_ENV=production node app.js >> /var/log/sharelatex/track-changes.log 2>&1
|
|
end script
|