Fixed service file basic functionality (still needs logging fixed)

pull/7/head
Aaron Johnson 7 years ago
parent d3e8145f6d
commit 5ef10ded51

@ -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

Loading…
Cancel
Save