|
|
|
@ -5,8 +5,9 @@ After=network.target
|
|
|
|
|
[Service]
|
|
|
|
|
User=ivo
|
|
|
|
|
WorkingDirectory=/opt/skyfall/egs-bot
|
|
|
|
|
StandardOutput=file:/var/log/skyfall/egs-bot/run.log
|
|
|
|
|
StandardError=file:/var/log/skyfall/egs-bot/error.log
|
|
|
|
|
# Uncomment these for logging to flat files instead of journald
|
|
|
|
|
#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
|
|
|
|
|