]>
Commit | Line | Data |
---|---|---|
14228c0d | 1 | '\" t |
60f067b4 | 2 | .TH "HALT" "8" "" "systemd 214" "halt" |
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" | |
23 | halt, poweroff, reboot \- Halt, power\-off or reboot the machine | |
24 | .SH "SYNOPSIS" | |
25 | .HP \w'\fBhalt\ \fR\fB[OPTIONS...]\fR\ 'u | |
26 | \fBhalt \fR\fB[OPTIONS...]\fR | |
27 | .HP \w'\fBpoweroff\ \fR\fB[OPTIONS...]\fR\ 'u | |
28 | \fBpoweroff \fR\fB[OPTIONS...]\fR | |
29 | .HP \w'\fBreboot\ \fR\fB[OPTIONS...]\fR\ 'u | |
30 | \fBreboot \fR\fB[OPTIONS...]\fR | |
31 | .SH "DESCRIPTION" | |
32 | .PP | |
33 | \fBhalt\fR, | |
34 | \fBpoweroff\fR, | |
35 | \fBreboot\fR | |
36 | may be used to halt, power\-off or reboot the machine\&. | |
37 | .SH "OPTIONS" | |
38 | .PP | |
39 | The following options are understood: | |
40 | .PP | |
41 | \fB\-\-help\fR | |
42 | .RS 4 | |
60f067b4 | 43 | Print a short help text and exit\&. |
14228c0d MB |
44 | .RE |
45 | .PP | |
46 | \fB\-\-halt\fR | |
47 | .RS 4 | |
48 | Halt the machine, regardless of which one of the three commands is invoked\&. | |
49 | .RE | |
50 | .PP | |
51 | \fB\-p\fR, \fB\-\-poweroff\fR | |
52 | .RS 4 | |
53 | Power\-off the machine, regardless of which one of the three commands is invoked\&. | |
54 | .RE | |
55 | .PP | |
56 | \fB\-\-reboot\fR | |
57 | .RS 4 | |
58 | Reboot the machine, regardless of which one of the three commands is invoked\&. | |
59 | .RE | |
60 | .PP | |
61 | \fB\-f\fR, \fB\-\-force\fR | |
62 | .RS 4 | |
63 | Force immediate halt, power\-off, reboot\&. Do not contact the init system\&. | |
64 | .RE | |
65 | .PP | |
66 | \fB\-w\fR, \fB\-\-wtmp\-only\fR | |
67 | .RS 4 | |
68 | Only write wtmp shutdown entry, do not actually halt, power\-off, reboot\&. | |
69 | .RE | |
70 | .PP | |
71 | \fB\-d\fR, \fB\-\-no\-wtmp\fR | |
72 | .RS 4 | |
73 | Do not write wtmp shutdown entry\&. | |
74 | .RE | |
75 | .PP | |
76 | \fB\-\-no\-wall\fR | |
77 | .RS 4 | |
78 | Do not send wall message before halt, power\-off, reboot\&. | |
79 | .RE | |
80 | .SH "EXIT STATUS" | |
81 | .PP | |
60f067b4 | 82 | On success, 0 is returned, a non\-zero failure code otherwise\&. |
14228c0d MB |
83 | .SH "NOTES" |
84 | .PP | |
85 | These are legacy commands available for compatibility only\&. | |
86 | .SH "SEE ALSO" | |
87 | .PP | |
88 | \fBsystemd\fR(1), | |
89 | \fBsystemctl\fR(1), | |
90 | \fBshutdown\fR(8), | |
91 | \fBwall\fR(1) |