raspiblitz/home.admin/assets/background.service

25 lines
453 B
SYSTEMD
Raw Normal View History

2018-12-11 13:23:33 +01:00
# Monitor the RaspiBlitz
# /etc/systemd/system/background.service
[Unit]
Description=RaspiBlitz Background Monitoring Service
Wants=bootstrap.service
After=bootstrap.service
# for use with sendmail alert (coming soon)
#OnFailure=systemd-sendmail@%n
[Service]
User=root
Group=root
2019-02-12 18:14:50 +01:00
Type=simple
2018-12-11 13:23:33 +01:00
ExecStart=/home/admin/_background.sh
KillMode=process
Restart=always
TimeoutSec=10
RestartSec=10
StandardOutput=journal
[Install]
2019-02-11 18:08:42 +01:00
WantedBy=multi-user.target