]> git.proxmox.com Git - systemd.git/blame - man/telinit.8
Imported Upstream version 220
[systemd.git] / man / telinit.8
CommitLineData
14228c0d 1'\" t
e3bff60a 2.TH "TELINIT" "8" "" "systemd 220" "telinit"
14228c0d
MB
3.\" -----------------------------------------------------------------
4.\" * Define some portability stuff
5.\" -----------------------------------------------------------------
6.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7.\" http://bugs.debian.org/507673
8.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10.ie \n(.g .ds Aq \(aq
11.el .ds Aq '
12.\" -----------------------------------------------------------------
13.\" * set default formatting
14.\" -----------------------------------------------------------------
15.\" disable hyphenation
16.nh
17.\" disable justification (adjust text to left margin only)
18.ad l
19.\" -----------------------------------------------------------------
20.\" * MAIN CONTENT STARTS HERE *
21.\" -----------------------------------------------------------------
22.SH "NAME"
23telinit \- Change SysV runlevel
24.SH "SYNOPSIS"
25.HP \w'\fBtelinit\ \fR\fB[OPTIONS...]\fR\fB\ \fR\fB{COMMAND}\fR\ 'u
26\fBtelinit \fR\fB[OPTIONS...]\fR\fB \fR\fB{COMMAND}\fR
27.SH "DESCRIPTION"
28.PP
29\fBtelinit\fR
30may 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\&.
31.SH "OPTIONS"
32.PP
33The following options are understood:
34.PP
35\fB\-\-help\fR
36.RS 4
60f067b4 37Print a short help text and exit\&.
14228c0d
MB
38.RE
39.PP
40\fB\-\-no\-wall\fR
41.RS 4
42Do not send wall message before reboot/halt/power\-off\&.
43.RE
44.PP
45The following commands are understood:
46.PP
47\fB0\fR
48.RS 4
49Power\-off the machine\&. This is translated into an activation request for
50poweroff\&.target
51and is equivalent to
52\fBsystemctl poweroff\fR\&.
53.RE
54.PP
55\fB6\fR
56.RS 4
57Reboot the machine\&. This is translated into an activation request for
58reboot\&.target
59and is equivalent to
60\fBsystemctl reboot\fR\&.
61.RE
62.PP
63\fB2\fR, \fB3\fR, \fB4\fR, \fB5\fR
64.RS 4
65Change the SysV runlevel\&. This is translated into an activation request for
66runlevel2\&.target,
67runlevel3\&.target, \&.\&.\&. and is equivalent to
68\fBsystemctl isolate runlevel2\&.target\fR,
69\fBsystemctl isolate runlevel3\&.target\fR, \&.\&.\&.
70.RE
71.PP
72\fB1\fR, \fBs\fR, \fBS\fR
73.RS 4
74Change into system rescue mode\&. This is translated into an activation request for
75rescue\&.target
76and is equivalent to
77\fBsystemctl rescue\fR\&.
78.RE
79.PP
80\fBq\fR, \fBQ\fR
81.RS 4
82Reload daemon configuration\&. This is equivalent to
83\fBsystemctl daemon\-reload\fR\&.
84.RE
85.PP
86\fBu\fR, \fBU\fR
87.RS 4
88Serialize state, reexecute daemon and deserialize state again\&. This is equivalent to
89\fBsystemctl daemon\-reexec\fR\&.
90.RE
91.SH "EXIT STATUS"
92.PP
60f067b4 93On success, 0 is returned, a non\-zero failure code otherwise\&.
14228c0d
MB
94.SH "NOTES"
95.PP
96This is a legacy command available for compatibility only\&. It should not be used anymore, as the concept of runlevels is obsolete\&.
97.SH "SEE ALSO"
98.PP
99\fBsystemd\fR(1),
100\fBsystemctl\fR(1),
101\fBwall\fR(1)