From 480f27b218a7a3ebe937b8f645eb132339302e75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sun, 21 Jul 2013 20:58:26 +0200 Subject: [PATCH] apcupsd: use /run/nologin (instead of /etc/nologin) to prevent logins This is what systemd uses, see "man systemd-user-sessions.service". --- pkgs/servers/apcupsd/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \