add ubuntu upstart service definition
This commit is contained in:
parent
5510390684
commit
a0bfcf1cd4
16
bin/prod/ubuntu/lila.conf
Normal file
16
bin/prod/ubuntu/lila.conf
Normal file
|
@ -0,0 +1,16 @@
|
|||
# /etc/init/lila
|
||||
|
||||
limit nofile 65536 65536
|
||||
|
||||
kill timeout 3 # wait between SIGTERM and SIGKILL.
|
||||
|
||||
pre-start script
|
||||
rm -f /home/lila/RUNNING_PID
|
||||
end script
|
||||
|
||||
start on runlevel [2345]
|
||||
stop on runlevel [06]
|
||||
|
||||
respawn
|
||||
|
||||
exec su -s /bin/sh -c 'exec "$0" "$@"' lila -- /home/lila/start -Dfile.encoding=UTF8 -Xms512M -Xmx8192M -Xss4M -XX:MaxPermSize=4096M > /home/lila/logs/output.log 2>&1
|
Loading…
Reference in a new issue