mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-28 06:19:00 +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;
|
inherit (instance) settings settingsFile;
|
||||||
settingsFile' = "/var/lib/vouch-proxy/${name}-config.yml";
|
settingsFile' = "/var/lib/vouch-proxy/${name}-config.yml";
|
||||||
in
|
in
|
||||||
lib.nameValuePair "vouch-proxy-${name}" {
|
lib.nameValuePair "vouch-proxy-${utils.escapeSystemdPath name}" {
|
||||||
preStart =
|
preStart =
|
||||||
if (settings != { } && settingsFile == null)
|
if (settings != { } && settingsFile == null)
|
||||||
then ''
|
then ''
|
||||||
|
Loading…
Reference in New Issue
Block a user