From 32378106117f590877a871502023b294c414b372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Fri, 28 Jul 2023 13:56:52 +0300 Subject: [PATCH] unitstatus: remove escaping Otherwise: Invalid unit name "borgbackup/job//home" escaped as "borgbackup-job--home" (maybe you should use systemd-escape?). --- modules/base/unitstatus/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/base/unitstatus/default.nix b/modules/base/unitstatus/default.nix index 76e1e4a..2fdb42f 100644 --- a/modules/base/unitstatus/default.nix +++ b/modules/base/unitstatus/default.nix @@ -41,7 +41,7 @@ description = "Send an email on unit failure"; serviceConfig = { Type = "simple"; - ExecStart = ''${script} "%I" "Hostname: %H" "Machine ID: %m" "Boot ID: %b" ''; + ExecStart = ''${script} "%i" "Hostname: %H" "Machine ID: %m" "Boot ID: %b" ''; }; }; }