about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2015-04-19 11:00:04 +0300
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2015-04-19 15:58:34 +0300
commite7843efe12178b3e656e6f9ac501470184241c21 (patch)
tree9c23e3542da92490f08272bd497c3806c5e8fa87 /nixos
parent4e51a466bdfa260d15fbaafe52cdccf5280f13d1 (diff)
downloadnixlib-e7843efe12178b3e656e6f9ac501470184241c21.tar
nixlib-e7843efe12178b3e656e6f9ac501470184241c21.tar.gz
nixlib-e7843efe12178b3e656e6f9ac501470184241c21.tar.bz2
nixlib-e7843efe12178b3e656e6f9ac501470184241c21.tar.lz
nixlib-e7843efe12178b3e656e6f9ac501470184241c21.tar.xz
nixlib-e7843efe12178b3e656e6f9ac501470184241c21.tar.zst
nixlib-e7843efe12178b3e656e6f9ac501470184241c21.zip
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.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/ddclient.nix4
1 files 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";