From 8fb9770882d431edee6897b83c3a4610aea59864 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 17 Oct 2023 18:33:02 +0800 Subject: [PATCH] services/vouch-proxy: escape service names for systemd --- modules/nixos/services/vouch-proxy.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/services/vouch-proxy.nix b/modules/nixos/services/vouch-proxy.nix index d162607c..412b3bee 100644 --- a/modules/nixos/services/vouch-proxy.nix +++ b/modules/nixos/services/vouch-proxy.nix @@ -63,7 +63,7 @@ let inherit (instance) settings settingsFile; settingsFile' = "/var/lib/vouch-proxy/${name}-config.yml"; in - lib.nameValuePair "vouch-proxy-${name}" { + lib.nameValuePair "vouch-proxy-${utils.escapeSystemdPath name}" { preStart = if (settings != { } && settingsFile == null) then ''