nixos/cloudflared: fix invalid systemd unit description

This commit is contained in:
Joel 2022-12-18 16:17:14 +10:00
parent be5e767930
commit 1cee5ecfeb
No known key found for this signature in database

View file

@ -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;