diff --git a/example_services/egsbot.service b/example_services/egsbot.service index 0b7eece..2cb1a67 100644 --- a/example_services/egsbot.service +++ b/example_services/egsbot.service @@ -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