forked from mirrors/nixpkgs
Don't restart agetty
This commit is contained in:
parent
dfb6e891b9
commit
4c65a5d95c
|
@ -94,6 +94,8 @@ with pkgs.lib;
|
||||||
# Some login implementations ignore SIGTERM, so we send SIGHUP
|
# Some login implementations ignore SIGTERM, so we send SIGHUP
|
||||||
# instead, to ensure that login terminates cleanly.
|
# instead, to ensure that login terminates cleanly.
|
||||||
KillSignal=SIGHUP
|
KillSignal=SIGHUP
|
||||||
|
|
||||||
|
X-RestartIfChanged=false
|
||||||
'';
|
'';
|
||||||
|
|
||||||
boot.systemd.units."serial-getty@.service".text =
|
boot.systemd.units."serial-getty@.service".text =
|
||||||
|
@ -127,6 +129,8 @@ with pkgs.lib;
|
||||||
# Some login implementations ignore SIGTERM, so we send SIGHUP
|
# Some login implementations ignore SIGTERM, so we send SIGHUP
|
||||||
# instead, to ensure that login terminates cleanly.
|
# instead, to ensure that login terminates cleanly.
|
||||||
KillSignal=SIGHUP
|
KillSignal=SIGHUP
|
||||||
|
|
||||||
|
X-RestartIfChanged=false
|
||||||
'';
|
'';
|
||||||
|
|
||||||
environment.etc = singleton
|
environment.etc = singleton
|
||||||
|
|
Loading…
Reference in a new issue