| 1 |
'\" t |
| 2 |
.TH "TELINIT" "8" "" "systemd 257.13" "telinit" |
| 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" |
| 23 |
telinit \- Change SysV runlevel |
| 24 |
.SH "SYNOPSIS" |
| 25 |
.HP \w'\fBtelinit\fR\ 'u |
| 26 |
\fBtelinit\fR [OPTIONS...] {COMMAND} |
| 27 |
.SH "DESCRIPTION" |
| 28 |
.PP |
| 29 |
\fBtelinit\fR |
| 30 |
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\&. |
| 31 |
.SH "OPTIONS" |
| 32 |
.PP |
| 33 |
The following options are understood: |
| 34 |
.PP |
| 35 |
\fB\-\-help\fR |
| 36 |
.RS 4 |
| 37 |
Print a short help text and exit\&. |
| 38 |
.RE |
| 39 |
.PP |
| 40 |
\fB\-\-no\-wall\fR |
| 41 |
.RS 4 |
| 42 |
Do not send wall message before reboot/halt/power\-off\&. |
| 43 |
.RE |
| 44 |
.PP |
| 45 |
The following commands are understood: |
| 46 |
.PP |
| 47 |
\fB0\fR |
| 48 |
.RS 4 |
| 49 |
Power\-off the machine\&. This is translated into an activation request for |
| 50 |
poweroff\&.target |
| 51 |
and is equivalent to |
| 52 |
\fBsystemctl poweroff\fR\&. |
| 53 |
.RE |
| 54 |
.PP |
| 55 |
\fB6\fR |
| 56 |
.RS 4 |
| 57 |
Reboot the machine\&. This is translated into an activation request for |
| 58 |
reboot\&.target |
| 59 |
and is equivalent to |
| 60 |
\fBsystemctl reboot\fR\&. |
| 61 |
.RE |
| 62 |
.PP |
| 63 |
\fB2\fR, \fB3\fR, \fB4\fR, \fB5\fR |
| 64 |
.RS 4 |
| 65 |
Change the SysV runlevel\&. This is translated into an activation request for |
| 66 |
runlevel2\&.target, |
| 67 |
runlevel3\&.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 |
| 74 |
Change into system rescue mode\&. This is translated into an activation request for |
| 75 |
rescue\&.target |
| 76 |
and is equivalent to |
| 77 |
\fBsystemctl rescue\fR\&. |
| 78 |
.RE |
| 79 |
.PP |
| 80 |
\fBq\fR, \fBQ\fR |
| 81 |
.RS 4 |
| 82 |
Reload daemon configuration\&. This is equivalent to |
| 83 |
\fBsystemctl daemon\-reload\fR\&. |
| 84 |
.RE |
| 85 |
.PP |
| 86 |
\fBu\fR, \fBU\fR |
| 87 |
.RS 4 |
| 88 |
Serialize state, reexecute daemon and deserialize state again\&. This is equivalent to |
| 89 |
\fBsystemctl daemon\-reexec\fR\&. |
| 90 |
.RE |
| 91 |
.SH "EXIT STATUS" |
| 92 |
.PP |
| 93 |
On success, 0 is returned, a non\-zero failure code otherwise\&. |
| 94 |
.SH "NOTES" |
| 95 |
.PP |
| 96 |
This 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), \fBsystemctl\fR(1), \fBwall\fR(1) |