forked from mirrors/nixpkgs
nixos/cloudflared: fix invalid systemd unit description
This commit is contained in:
parent
be5e767930
commit
1cee5ecfeb
|
@ -263,7 +263,7 @@ in
|
||||||
mapAttrs'
|
mapAttrs'
|
||||||
(name: tunnel:
|
(name: tunnel:
|
||||||
nameValuePair "cloudflared-tunnel-${name}" ({
|
nameValuePair "cloudflared-tunnel-${name}" ({
|
||||||
description = lib.mdDoc "Cloudflare tunnel '${name}' target";
|
description = "Cloudflare tunnel '${name}' target";
|
||||||
requires = [ "cloudflared-tunnel-${name}.service" ];
|
requires = [ "cloudflared-tunnel-${name}.service" ];
|
||||||
after = [ "cloudflared-tunnel-${name}.service" ];
|
after = [ "cloudflared-tunnel-${name}.service" ];
|
||||||
unitConfig.StopWhenUnneeded = true;
|
unitConfig.StopWhenUnneeded = true;
|
||||||
|
|
Loading…
Reference in a new issue