mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
23 lines
429 B
Desktop File
23 lines
429 B
Desktop File
# Monitor the RaspiBlitz
|
|
# /etc/systemd/system/background.service
|
|
|
|
[Unit]
|
|
Description=RaspiBlitz Background Monitoring Service
|
|
Wants=network.target
|
|
After=network.target
|
|
|
|
# for use with sendmail alert (coming soon)
|
|
#OnFailure=systemd-sendmail@%n
|
|
|
|
[Service]
|
|
User=root
|
|
Group=root
|
|
Type=simple
|
|
ExecStart=/home/admin/_background.sh
|
|
Restart=always
|
|
TimeoutSec=10
|
|
RestartSec=10
|
|
StandardOutput=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |