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.
24 lines
453 B
24 lines
453 B
6 years ago
|
# 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
|
||
|
Type=forking
|
||
|
ExecStart=/home/admin/_background.sh
|
||
|
KillMode=process
|
||
|
Restart=always
|
||
|
TimeoutSec=10
|
||
|
RestartSec=10
|
||
|
StandardOutput=journal
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|