Last active
December 27, 2015 04:39
-
-
Save babie/7268601 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "earthquake server" | |
author "babie <[email protected]>" | |
start on filesystem or runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
respawn limit 10 5 | |
setuid babie | |
setgid babie | |
umask 022 | |
console none | |
expect daemon | |
script | |
export HOME=/home/babie | |
export LANG=ja_JP.UTF-8 | |
export PATH=/home/babie/.rbenv/shims:/home/babie/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
exec empty -p /tmp/empty.pid -f earthquake | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment