fix exec
This commit is contained in:
@@ -60,12 +60,14 @@ lib.mkIf hasMailDiscoveryConfig (
|
|||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
ExecStart = "${pkgs.python3}/bin/python3 \
|
ExecStart = lib.concatStringsSep " " [
|
||||||
${generatorScript} \
|
"${pkgs.python3}/bin/python3"
|
||||||
--domain ${domain} \
|
"${generatorScript}"
|
||||||
--mail-host ${cfg.fqdn} \
|
"--domain" domain
|
||||||
--radicale-host ${radicaleHost} \
|
"--mail-host" cfg.fqdn
|
||||||
--port ${toString mobileconfigPort}${defaultUsernameArg}${accountArgs}";
|
"--radicale-host" radicaleHost
|
||||||
|
"--port" (toString mobileconfigPort)
|
||||||
|
] + defaultUsernameArg + accountArgs;
|
||||||
NoNewPrivileges = true;
|
NoNewPrivileges = true;
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
ProtectHome = true;
|
ProtectHome = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user