From 2806491cc410527aace39395fa521d6df1326967 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Mon, 11 May 2015 17:44:07 -0700 Subject: [PATCH] nixos/consul: Add shell for health checks --- nixos/modules/services/networking/consul.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/networking/consul.nix b/nixos/modules/services/networking/consul.nix index 75e2a692141..53a9f462625 100644 --- a/nixos/modules/services/networking/consul.nix +++ b/nixos/modules/services/networking/consul.nix @@ -140,6 +140,8 @@ in users.extraUsers."consul" = { description = "Consul agent daemon user"; uid = config.ids.uids.consul; + # The shell is needed for health checks + shell = "/run/current-system/sw/bin/bash"; }; environment = {