util-vserver:InitStyles

From Linux-VServer

Revision as of 02:08, 14 December 2006 by 75.36.147.248 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Guests can be started using one of the following

  • plain
    • Launches a unique init process for the guest.
    • Guest's init process executes the rc scripts.
    • Therefore, you cannot watch the startup process.
    • However, shutdown or restart command will work
  • sysv (default)
    • Executes the runlevel scripts directly.
    • You can you can watch the startup process.
    • Slightly lighter weight since no additional init process is needed.
    • A fake init process is shown in the guest.
    • You must use "reboot -f" or "halt -f" to restart or shut down from withint the guest.
  • gentoo
    • Like sysv but works on Gentoo-based guests.
    • Was deprecated but has been reinstated around util-vserver 0.30.212.
  • minit

Configuration

The init style should go in /etc/vservers/<vservername>/apps/init/style, a file containing a single word. If the file doesn't exist, sysv will be used.

Personal tools