You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
heatbot/example_services/heatbot.service

19 lines
490 B

[Unit]
Description=Temperature Checking and Alert Bot by SKYFALL
After=network.target
[Service]
User=ivo
WorkingDirectory=/opt/skyfall/heatbot
# Uncomment these for logging to flat files instead of journald
#StandardOutput=file:/var/log/skyfall/heatbot/run.log
#StandardError=file:/var/log/skyfall/heatbot/error.log
PIDFile=/var/run/skyfall/heatbot.pid
ExecStart=/usr/bin/ruby /opt/skyfall/heatbot/run.rb
SuccessExitStatus=SIGKILL
Restart=on-failure
[Install]
WantedBy=multi-user.target