Oops, multi-line string in systemd

This commit is contained in:
niten 2023-10-19 22:14:01 -07:00
parent a46b71e72b
commit cd1c104bce
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ let
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
SecureBits = "keep-caps";
ExecStartPre = let
chownScript = ''
chownScript = pkgs.writeShellScript "kerberos-chown.sh" ''
${pkgs.coreutils}/bin/chown ${cfg.user}:${cfg.group} ${cfg.kdc.database}
${pkgs.coreutils}/bin/chown ${cfg.user}:${cfg.group} ${cfg.kdc.state-directory}/kerberos.log
'';