1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

apcupsd: use /run/nologin (instead of /etc/nologin) to prevent logins

This is what systemd uses, see "man systemd-user-sessions.service".
This commit is contained in:
Bjørn Forsman 2013-07-21 20:58:26 +02:00
parent 7eea045b28
commit 480f27b218

View file

@ -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 \