mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
services/vouch-proxy: escape service names for systemd
This commit is contained in:
parent
e6c4a20b83
commit
8fb9770882
@ -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 ''
|
||||
|
Loading…
Reference in New Issue
Block a user