3 .\" Author: Lennart Poettering <lennart@poettering.net>
4 .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
10 .TH "TELINIT" "8" "02/15/2012" "systemd" "telinit"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 telinit \- Change SysV runlevel
33 .HP \w'\fBtelinit\ \fR\fB[OPTIONS...]\fR\fB\ \fR\fB{COMMAND}\fR\ 'u
34 \fBtelinit \fR\fB[OPTIONS...]\fR\fB \fR\fB{COMMAND}\fR
38 may be used to change the SysV system runlevel\&. Since the concept of SysV runlevels is obsolete the runlevel requests will be transparently translated into systemd unit activation requests\&.
41 The following options are understood:
45 Prints a short help text and exits\&.
50 Don\*(Aqt send wall message before reboot/halt/power\-off\&.
53 The following commands are understood:
57 Power\-off the machine\&. This is translated into an activation request for
60 \fBsystemctl poweroff\fR\&.
65 Reboot the machine\&. This is translated into an activation request for
68 \fBsystemctl reboot\fR\&.
71 \fB2\fR, \fB3\fR, \fB4\fR, \fB5\fR
73 Change the SysV runlevel\&. This is translated into an activation request for
75 runlevel3\&.target, \&.\&.\&. and is equivalent to
76 \fBsystemctl isolate runlevel2\&.target\fR,
77 \fBsystemctl isolate runlevel3\&.target\fR, \&.\&.\&.
80 \fB1\fR, \fBs\fR, \fBS\fR
82 Change into system rescue mode\&. This is translated into an activation request for
85 \fBsystemctl rescue\fR\&.
90 Reload daemon configuration\&. This is equivalent to
91 \fBsystemctl daemon\-reload\fR\&.
96 Serialize state, reexecute daemon and deserialize state again\&. This is equivalent to
97 \fBsystemctl daemon\-reexec\fR\&.
101 On success 0 is returned, a non\-zero failure code otherwise\&.
104 This is a legacy command available for compatibility only\&. It should not be used anymore, as the concept of runlevels is obsolete\&.
113 \fBLennart Poettering\fR <\&lennart@poettering\&.net\&>