blob: 8e9dd4034ef474eb9fb04b4cfb42cfb319d9d925 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Unit]
Description=Fetch BOM radar and publish loop APNG
OnFailure=radar-retry.timer
[Service]
Type=oneshot
User=st33v
WorkingDirectory=/var/lib/radar
ExecStart=/opt/radar/radarFetch.sh
ExecStopPost=/bin/sh -c 'STATUS=SUCCESS; [ "$$EXIT_STATUS" != "0" ] && STATUS=FAILURE; logger -t radar -p user.err "radar $$STATUS exit=$$EXIT_STATUS"'
SyslogIdentifier=radar
StandardOutput=journal
StandardError=journal
|