lila/doc/ubuntu/lila.conf

17 lines
2.9 KiB
Plaintext

# /etc/init/lila
limit nofile 65536 65536 4 5 kill timeout 3 # wait between SIGTERM and SIGKILL.
pre-start script
rm -f /home/lila5/RUNNING_PID
mkdir -p /home/lila5/logs
chown -R lila:users /home/lila5/logs
end script
start on runlevel [2345]
stop on runlevel [06]
respawn
exec su -s /bin/sh -c 'exec "$0" "$@"' lila -- /home/lila5/bin/lila -Dconfig.file=/home/lila5/application.conf -Dhttp.port=9004 -mem 8192 > /home/lila5/logs/output.log