29 Jul 2004
Aliases: upstart(7), telinit(8), telinit(8), telinit(8), telinit(8), telinit(8), telinit(8), telinit(8), telinit(8), telinit(8), telinit(8), telinit(8), telinit(8), telinit(8), telinit(8)
runit-init
system-wide service supervision (as init system)
sysvinit-core
System-V-like init utilities
sysvinit
Linux System V Init
NAME
init - a UNIX process no 1
SYNOPSIS
init [ 0 | 6 ]
DESCRIPTION
runit-init is the first process the kernel starts. If runit-init is started as process no 1, it runs and replaces itself with runit(8).
If runit-init is started while the system is up, it must be either called as init 0 or init 6:
init 0 | tells the Unix process no 1 to shutdown and halt the system. To signal runit(8) the system halt request, runit-init removes all permissions of the file /run/runit.reboot (chmod 0), and sets the execute by owner permission of the file /run/runit.stopit (chmod 100). Then a CONT signal is sent to runit(8). |
init 6 | tells the Unix process no 1 to shutdown and reboot the system. To signal runit(8) the system reboot request, runit-init sets the execute by owner permission of the files /run/runit.reboot and /run/runit.stopit (chmod 100). Then a CONT signal is sent to runit(8). |
EXIT CODES
runit-init returns 111 on error, 0 in all other cases.
SEE ALSO
AUTHOR
Gerrit Pape <pape>
REFERENCED BY
ac(1), dump-utmp(8), cupsd(8), fetchmail(1), insserv(8), rcS(5), cap_get_proc(3), swapon(8), mountall(8), ps(1), rsyslogd(8), schroot-setup(5), pidof(8), ctrlaltdel(8), switch_root(8), last(1), upstart(5), control-alt-delete(7), dbus-event(7), file-event(7), keyboard-request(7), power-status-changed(7), session-end(7), socket-event(7), started(7), starting(7), startup(7), stopped(7), stopping(7), upstart-events(7), init-checkconf(8), initctl(8), initctl2dot(8), upstart-dbus-bridge(8), upstart-event-bridge(8), upstart-file-bridge(8), upstart-local-bridge(8), upstart-socket-bridge(8), upstart-udev-bridge(8), upstart(8), inittab(5), runlevel(7), upstart-monitor(8), runlevel(8), shutdown(8), telinit(8), login(1), efax-0.9a(1), efax(1), faxaddmodem(8), faxgetty(8), wedged(8), ptrace(2), vhangup(2), ttyslot(3), console(4), utmp(5), boot(7), wait(2), initscript(5), halt(8), klogd(8), procinfo(8), sulogin(8), sysklogd(8), ngetty(8), utmpset(8), dconf-event(7), upstart-dconf-bridge(8), xdm(1), startpar-upstart-inject(8), startpar(8), runlevel.conf(5), invoke-rc.d(8), update-rc.d(8), chkconfig(8), xfs(1), procps(1), xdm(8), defaultdomain(5), init.d(7), xdm(1)