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:
parent
7eea045b28
commit
480f27b218
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue