3
0
Fork 0
forked from mirrors/nixpkgs

Don't restart agetty

This commit is contained in:
Eelco Dolstra 2012-08-23 11:13:33 -04:00
parent dfb6e891b9
commit 4c65a5d95c

View file

@ -94,6 +94,8 @@ with pkgs.lib;
# Some login implementations ignore SIGTERM, so we send SIGHUP
# instead, to ensure that login terminates cleanly.
KillSignal=SIGHUP
X-RestartIfChanged=false
'';
boot.systemd.units."serial-getty@.service".text =
@ -127,6 +129,8 @@ with pkgs.lib;
# Some login implementations ignore SIGTERM, so we send SIGHUP
# instead, to ensure that login terminates cleanly.
KillSignal=SIGHUP
X-RestartIfChanged=false
'';
environment.etc = singleton