blob: 6995637cfc35ac65f93b7fec63e0e32a0fac910b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
[Unit]Description=Fetch BOM radar and publish loop APNGOnFailure=radar-retry.timer[Service]Type=oneshotUser=st33vWorkingDirectory=/var/lib/radar# `-` prefix: one radar's failure does not skip the nextExecStart=-/opt/radar/radarFetch.sh IDR713ExecStart=-/opt/radar/radarFetch.sh IDR663ExecStopPost=/bin/sh -c 'STATUS=SUCCESS; [ "$$EXIT_STATUS" != "0" ] && STATUS=FAILURE; logger -t radar -p user.err "radar $$STATUS exit=$$EXIT_STATUS"'SyslogIdentifier=radarStandardOutput=journalStandardError=journal
|