parent
05212cd4d6
commit
2d5a04e5bd
|
@ -85,12 +85,18 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services."container-getty@" =
|
systemd.services."container-getty@" =
|
||||||
{ serviceConfig.ExecStart = gettyCmd "--noclear --keep-baud pts/%I 115200,38400,9600 $TERM";
|
{ serviceConfig.ExecStart = [
|
||||||
|
"" # override upstream default with an empty ExecStart
|
||||||
|
(gettyCmd "--noclear --keep-baud pts/%I 115200,38400,9600 $TERM")
|
||||||
|
];
|
||||||
restartIfChanged = false;
|
restartIfChanged = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services."console-getty" =
|
systemd.services."console-getty" =
|
||||||
{ serviceConfig.ExecStart = gettyCmd "--noclear --keep-baud console 115200,38400,9600 $TERM";
|
{ serviceConfig.ExecStart = [
|
||||||
|
"" # override upstream default with an empty ExecStart
|
||||||
|
(gettyCmd "--noclear --keep-baud console 115200,38400,9600 $TERM")
|
||||||
|
];
|
||||||
serviceConfig.Restart = "always";
|
serviceConfig.Restart = "always";
|
||||||
restartIfChanged = false;
|
restartIfChanged = false;
|
||||||
enable = mkDefault config.boot.isContainer;
|
enable = mkDefault config.boot.isContainer;
|
||||||
|
|
Loading…
Reference in New Issue