From e7843efe12178b3e656e6f9ac501470184241c21 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Sun, 19 Apr 2015 11:00:04 +0300 Subject: [PATCH] ddclient: Fix incorrectly capitalized systemd unit key This avoids the following warning: Apr 19 10:53:48 xen systemd[1]: [/nix/store/...-unit-ddclient.service/ddclient.service:19] Unknown lvalue 'type' in section 'Service' As `Type=simple` is the default in systemd, the assignment to the service type can be simply dropped. --- nixos/modules/services/networking/ddclient.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/networking/ddclient.nix b/nixos/modules/services/networking/ddclient.nix index f01deb6ee7c8..92f6396b3588 100644 --- a/nixos/modules/services/networking/ddclient.nix +++ b/nixos/modules/services/networking/ddclient.nix @@ -127,8 +127,8 @@ in wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; serviceConfig = { - # This may change back to forking if too many problems occur: - type = "simple"; + # Uncomment this if too many problems occur: + # Type = "forking"; User = ddclientUser; Group = "nogroup"; #TODO get this to work PermissionsStartOnly = "true";