mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/cloudflared: fix cert.pem installation
There was a typo in the systemd service definition for cloudflared which meant that the cert.pem file was not being correctly exposed.
This commit is contained in:
parent
d420cf07b4
commit
75c7d0908e
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ in
|
||||||
RuntimeDirectoryMode = "0400";
|
RuntimeDirectoryMode = "0400";
|
||||||
LoadCredential = [
|
LoadCredential = [
|
||||||
"credentials.json:${tunnel.credentialsFile}"
|
"credentials.json:${tunnel.credentialsFile}"
|
||||||
] ++ (lib.optional (certFile != null) "cert.pem:certFile");
|
] ++ (lib.optional (certFile != null) "cert.pem:${certFile}");
|
||||||
|
|
||||||
ExecStart = "${cfg.package}/bin/cloudflared tunnel --config=${mkConfigFile} --no-autoupdate run";
|
ExecStart = "${cfg.package}/bin/cloudflared tunnel --config=${mkConfigFile} --no-autoupdate run";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue