From 070254317e419d8b2b2efa839a9e645d69c3963d Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Sat, 29 Dec 2018 16:53:43 +0100 Subject: [PATCH] Revert "nixos/ddclient: make RuntimeDirectory and configFile private" --- nixos/modules/services/networking/ddclient.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/modules/services/networking/ddclient.nix b/nixos/modules/services/networking/ddclient.nix index a70967820b32..9a2e13e9553c 100644 --- a/nixos/modules/services/networking/ddclient.nix +++ b/nixos/modules/services/networking/ddclient.nix @@ -182,10 +182,9 @@ with lib; serviceConfig = rec { DynamicUser = true; RuntimeDirectory = StateDirectory; - RuntimeDirectoryMode = "0750"; StateDirectory = builtins.baseNameOf dataDir; Type = "oneshot"; - ExecStartPre = "!${lib.getBin pkgs.coreutils}/bin/install -m660 ${cfg.configFile} /run/${RuntimeDirectory}/ddclient.conf"; + ExecStartPre = "!${lib.getBin pkgs.coreutils}/bin/install -m666 ${cfg.configFile} /run/${RuntimeDirectory}/ddclient.conf"; ExecStart = "${lib.getBin pkgs.ddclient}/bin/ddclient -file /run/${RuntimeDirectory}/ddclient.conf"; }; };