summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-08-11 20:56:01 +0200
committertv <tv@krebsco.de>2020-08-11 20:56:01 +0200
commitb63d24d58e1734b986d8e1fa5930e4ba51ddc4bc (patch)
tree5611020248335097158a3132270abac62557a8d0
parentf556a302f62434e0a47ef23db7e569bdb9c489f6 (diff)
krebs.secret: shell.escape file.service
-rw-r--r--krebs/3modules/secret.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/secret.nix b/krebs/3modules/secret.nix
index bf2c62cc9..67454d1f7 100644
--- a/krebs/3modules/secret.nix
+++ b/krebs/3modules/secret.nix
@@ -22,7 +22,7 @@ in {
wantedBy = ["multi-user.target"];
serviceConfig = {
Type = "oneshot";
- ExecStart = "${pkgs.systemd}/bin/systemctl restart ${file.service}";
+ ExecStart = "${pkgs.systemd}/bin/systemctl restart ${shell.escape file.service}";
};
})
cfg.files