File: README.upstart

package info (click to toggle)
ngetty 1.1-3.1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 392 kB
  • sloc: ansic: 1,588; makefile: 206; sh: 193; asm: 100
file content (24 lines) | stat: -rw-r--r-- 547 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
If upstart (http://en.wikipedia.org/wiki/Upstart)
is the default init (PID 1) save next 

--------------------------------
# ngetty
start on runlevel [2345]
stop on shutdown
respawn
exec /sbin/ngetty 1 2 3 4 5 6
--------------------------------

in /etc/init/ngetty.tmp and then type:
mv /etc/init/ngetty.tmp /etc/init/ngetty.conf

If you have running tty stop them before above "mv" with:
stop tty1
stop tty2
...

See also:
http://upstart.ubuntu.com/getting-started.html

If someone uses ngetty with upstart and has more 
experience let me know.