|
|
@ -3,10 +3,12 @@ Description=Empyrion Chat Bot by SKYFALL
|
|
|
|
After=network.target
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
|
|
|
|
User=ivo
|
|
|
|
User=ivo
|
|
|
|
PIDFile=/var/run/egsbot.pid
|
|
|
|
WorkingDirectory=/opt/skyfall/egs-bot
|
|
|
|
ExecStart=/opt/skyfall/egsbot/run.rb
|
|
|
|
StandardOutput=file:/var/log/skyfall/egs-bot/run.log
|
|
|
|
|
|
|
|
StandardError=file:/var/log/skyfall/egs-bot/error.log
|
|
|
|
|
|
|
|
PIDFile=/var/run/skyfall/egsbot.pid
|
|
|
|
|
|
|
|
ExecStart=/usr/bin/ruby /opt/skyfall/egs-bot/run.rb
|
|
|
|
SuccessExitStatus=SIGKILL
|
|
|
|
SuccessExitStatus=SIGKILL
|
|
|
|
Restart=on-failure
|
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
|
|
|
|