unitstatus: remove escaping

Otherwise:

    Invalid unit name "borgbackup/job//home" escaped as "borgbackup-job--home" (maybe you should use systemd-escape?).
This commit is contained in:
Motiejus Jakštys 2023-07-28 13:56:52 +03:00
parent 45724064d1
commit 3237810611

View File

@ -41,7 +41,7 @@
description = "Send an email on unit failure"; description = "Send an email on unit failure";
serviceConfig = { serviceConfig = {
Type = "simple"; Type = "simple";
ExecStart = ''${script} "%I" "Hostname: %H" "Machine ID: %m" "Boot ID: %b" ''; ExecStart = ''${script} "%i" "Hostname: %H" "Machine ID: %m" "Boot ID: %b" '';
}; };
}; };
} }