Oops, multi-line string in systemd
This commit is contained in:
parent
a46b71e72b
commit
cd1c104bce
|
@ -98,7 +98,7 @@ let
|
||||||
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
|
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
|
||||||
SecureBits = "keep-caps";
|
SecureBits = "keep-caps";
|
||||||
ExecStartPre = let
|
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.database}
|
||||||
${pkgs.coreutils}/bin/chown ${cfg.user}:${cfg.group} ${cfg.kdc.state-directory}/kerberos.log
|
${pkgs.coreutils}/bin/chown ${cfg.user}:${cfg.group} ${cfg.kdc.state-directory}/kerberos.log
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue