diff options
| author | tv <tv@krebsco.de> | 2015-07-22 19:25:51 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2015-07-22 19:25:51 +0200 |
| commit | 5c54cd99df9b6f426e70cd78be3411526b091864 (patch) | |
| tree | d95b3ded9f586e40f4d09abbd3b09aeec73f97ed /3modules/tv/consul.nix | |
| parent | 3de7a1556abdd10f3c79522258b2e2ecccef5e0e (diff) | |
* tv: regen ids
Diffstat (limited to '3modules/tv/consul.nix')
| -rw-r--r-- | 3modules/tv/consul.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3modules/tv/consul.nix b/3modules/tv/consul.nix index 4801984..db0cd7a 100644 --- a/3modules/tv/consul.nix +++ b/3modules/tv/consul.nix @@ -88,7 +88,7 @@ let ExecStartPre = pkgs.writeScript "consul-init" '' #! /bin/sh mkdir -p ${cfg.data-dir} - chown consul: ${cfg.data-dir} + chown ${user.name}: ${cfg.data-dir} install -o ${user.name} -m 0400 ${cfg.encrypt-file} /tmp/encrypt.json ''; ExecStart = pkgs.writeScript "consul-service" '' @@ -111,7 +111,7 @@ let user = { name = "consul"; - uid = 2983239726; # genid consul + uid = 2999951406; # genid consul }; in |
