From 2db00f1538de87d4b535c8148ad066a80f07f94d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 4 Nov 2015 13:41:33 +0100 Subject: syntax poking --- custom/tinc/def.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'custom/tinc/def.nix') diff --git a/custom/tinc/def.nix b/custom/tinc/def.nix index 5412826b..8f3ec969 100644 --- a/custom/tinc/def.nix +++ b/custom/tinc/def.nix @@ -145,10 +145,9 @@ in Type = "simple"; PIDFile = "/run/tinc.${network}.pid"; }; - preStart = '' - ${pkgs.openresolv}/bin/resolvconf -d tinc.${network} || true - ''; preStart = '' + ${pkgs.openresolv}/bin/resolvconf -d tinc.${network} + mkdir -p /etc/tinc/${network}/hosts # Determine how we should generate our keys -- cgit v1.2.3