From bf7099d38935c23a1b7a635bb4aac1666471a665 Mon Sep 17 00:00:00 2001 From: Robin Raymond Date: Wed, 13 Sep 2017 11:49:33 +0200 Subject: [PATCH] fix issue #8 turns out this is a upstream bug. The fix should probably be pushed to nixpkgs. --- mail-server/systemd.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mail-server/systemd.nix b/mail-server/systemd.nix index a5da59d..0c82b16 100644 --- a/mail-server/systemd.nix +++ b/mail-server/systemd.nix @@ -77,11 +77,12 @@ in # Create dkim certificates systemd.services.rmilter = { + requires = [ "rmilter.socket" ]; + after = [ "rmilter.socket" ]; preStart = '' ${create_dkim_cert} ''; }; - }; }