Add systemd with tizen patches
[external/systemd.git] / man / telinit.8
1 '\" t
2 .\"     Title: telinit
3 .\"    Author: Lennart Poettering <lennart@poettering.net>
4 .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
5 .\"      Date: 02/15/2012
6 .\"    Manual: telinit
7 .\"    Source: systemd
8 .\"  Language: English
9 .\"
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 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 telinit \- Change SysV runlevel
32 .SH "SYNOPSIS"
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
35 .SH "DESCRIPTION"
36 .PP
37 \fBtelinit\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\&.
39 .SH "OPTIONS"
40 .PP
41 The following options are understood:
42 .PP
43 \fB\-\-help\fR
44 .RS 4
45 Prints a short help text and exits\&.
46 .RE
47 .PP
48 \fB\-\-no\-wall\fR
49 .RS 4
50 Don\*(Aqt send wall message before reboot/halt/power\-off\&.
51 .RE
52 .PP
53 The following commands are understood:
54 .PP
55 \fB0\fR
56 .RS 4
57 Power\-off the machine\&. This is translated into an activation request for
58 poweroff\&.target
59 and is equivalent to
60 \fBsystemctl poweroff\fR\&.
61 .RE
62 .PP
63 \fB6\fR
64 .RS 4
65 Reboot the machine\&. This is translated into an activation request for
66 reboot\&.target
67 and is equivalent to
68 \fBsystemctl reboot\fR\&.
69 .RE
70 .PP
71 \fB2\fR, \fB3\fR, \fB4\fR, \fB5\fR
72 .RS 4
73 Change the SysV runlevel\&. This is translated into an activation request for
74 runlevel2\&.target,
75 runlevel3\&.target, \&.\&.\&. and is equivalent to
76 \fBsystemctl isolate runlevel2\&.target\fR,
77 \fBsystemctl isolate runlevel3\&.target\fR, \&.\&.\&.
78 .RE
79 .PP
80 \fB1\fR, \fBs\fR, \fBS\fR
81 .RS 4
82 Change into system rescue mode\&. This is translated into an activation request for
83 rescue\&.target
84 and is equivalent to
85 \fBsystemctl rescue\fR\&.
86 .RE
87 .PP
88 \fBq\fR, \fBQ\fR
89 .RS 4
90 Reload daemon configuration\&. This is equivalent to
91 \fBsystemctl daemon\-reload\fR\&.
92 .RE
93 .PP
94 \fBu\fR, \fBU\fR
95 .RS 4
96 Serialize state, reexecute daemon and deserialize state again\&. This is equivalent to
97 \fBsystemctl daemon\-reexec\fR\&.
98 .RE
99 .SH "EXIT STATUS"
100 .PP
101 On success 0 is returned, a non\-zero failure code otherwise\&.
102 .SH "NOTES"
103 .PP
104 This is a legacy command available for compatibility only\&. It should not be used anymore, as the concept of runlevels is obsolete\&.
105 .SH "SEE ALSO"
106 .PP
107
108 \fBsystemd\fR(1),
109 \fBsystemctl\fR(1),
110 \fBwall\fR(1)
111 .SH "AUTHOR"
112 .PP
113 \fBLennart Poettering\fR <\&lennart@poettering\&.net\&>
114 .RS 4
115 Developer
116 .RE