3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/test/upstart-jobs/mingetty.nix
Eelco Dolstra 70aca5974c * Simplification.
svn path=/nixu/trunk/; revision=7076
2006-11-19 21:03:22 +00:00

11 lines
195 B
Nix

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