krebs.secret: shell.escape file.service

This commit is contained in:
tv 2020-08-11 20:56:01 +02:00
parent f556a302f6
commit b63d24d58e

View File

@ -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