~stgraber/ubuntu/precise/upstart/upstart-containers

« back to all changes in this revision

Viewing changes to debian/conf/console.conf

  • Committer: Stéphane Graber
  • Date: 2012-01-31 23:50:36 UTC
  • Revision ID: stgraber@ubuntu.com-20120131235036-1kddewh4cfltg53g
Add new console.conf job similar to tty1.conf but attaching to /dev/console. This one only starts in regular LXC containers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# console - getty
 
2
#
 
3
# This service maintains a getty on console from the point the system is
 
4
# started until it is shut down again.
 
5
 
 
6
start on stopped rc RUNLEVEL=[2345] and container CONTAINER=lxc
 
7
 
 
8
stop on runlevel [!2345]
 
9
 
 
10
respawn
 
11
exec /sbin/getty -8 38400 console