Capture full systemd unit name for ntfy error alerts

This commit is contained in:
2026-03-03 21:46:45 -08:00
parent c6eeea982e
commit 712b52a48d

View File

@@ -46,7 +46,7 @@ in
mkdir -p $out/lib/systemd/system/service.d
cat > $out/lib/systemd/system/service.d/ntfy-on-failure.conf <<'EOF'
[Unit]
OnFailure=ntfy-failure@%p.service
OnFailure=ntfy-failure@%N.service
EOF
'')
];