diff --git a/pkgs/servers/apcupsd/default.nix b/pkgs/servers/apcupsd/default.nix index b8a8cbbfa1c9..877be1d74b8a 100644 --- a/pkgs/servers/apcupsd/default.nix +++ b/pkgs/servers/apcupsd/default.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { --mandir=$out/share/man \ --with-halpolicydir=$out/share/halpolicy \ --localstatedir=/var/ \ - --with-nologin=/etc \ + --with-nologin=/run \ --with-log-dir=/var/log/apcupsd \ --with-pwrfail-dir=/run/apcupsd \ --with-lock-dir=/run/lock \