nixpkgs/upstart-jobs/mingetty.nix

11 lines
195 B
Nix
Raw Normal View History

{mingetty, ttyNumber}:
{
name = "tty" + toString ttyNumber;
job = "
start on startup
stop on shutdown
respawn ${mingetty}/sbin/mingetty --noclear tty${toString ttyNumber}
";
}