summaryrefslogtreecommitdiffstats
path: root/3modules/tv/consul.nix
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-07-22 19:25:51 +0200
committertv <tv@shackspace.de>2015-07-22 19:25:51 +0200
commit14ac6d3bba12f07bd8aa79221b9c64469fe03046 (patch)
treed95b3ded9f586e40f4d09abbd3b09aeec73f97ed /3modules/tv/consul.nix
parentcf53d56a92a67d0210d126acb60270ee5a4b4a21 (diff)
* tv: regen ids
Diffstat (limited to '3modules/tv/consul.nix')
-rw-r--r--3modules/tv/consul.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/3modules/tv/consul.nix b/3modules/tv/consul.nix
index 480198456..db0cd7a9e 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