[Unit]
Description=Sky-Cam failure notification for %i

[Service]
Type=oneshot
# %i is the name of the failed unit (passed by OnFailure=)
# Edit ExecStart path to match your install location.
ExecStart=/home/motion/drives/local-2tb/sunrise-scripts/notify.sh \
    "sky-cam job failed: %i" \
    "systemd unit %i exited with failure. Check logs: journalctl -u %i"
