[Unit] Description=Empyrion Chat Bot by SKYFALL After=network.target [Service] User=ivo WorkingDirectory=/opt/skyfall/egs-bot # 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 Restart=on-failure [Install] WantedBy=multi-user.target