]> git.proxmox.com Git - systemd.git/blame - man/halt.8
Imported Upstream version 219
[systemd.git] / man / halt.8
CommitLineData
14228c0d 1'\" t
e735f4d4 2.TH "HALT" "8" "" "systemd 219" "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"
23halt, poweroff, reboot \- Halt, power\-off or reboot the machine
24.SH "SYNOPSIS"
e735f4d4
MP
25.HP \w'\fBhalt\fR\ 'u
26\fBhalt\fR [OPTIONS...]
27.HP \w'\fBpoweroff\fR\ 'u
28\fBpoweroff\fR [OPTIONS...]
29.HP \w'\fBreboot\fR\ 'u
30\fBreboot\fR [OPTIONS...]
14228c0d
MB
31.SH "DESCRIPTION"
32.PP
33\fBhalt\fR,
34\fBpoweroff\fR,
35\fBreboot\fR
36may be used to halt, power\-off or reboot the machine\&.
37.SH "OPTIONS"
38.PP
39The following options are understood:
40.PP
41\fB\-\-help\fR
42.RS 4
60f067b4 43Print a short help text and exit\&.
14228c0d
MB
44.RE
45.PP
46\fB\-\-halt\fR
47.RS 4
48Halt 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
53Power\-off the machine, regardless of which one of the three commands is invoked\&.
54.RE
55.PP
56\fB\-\-reboot\fR
57.RS 4
58Reboot 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
63Force 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
68Only 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
73Do not write wtmp shutdown entry\&.
74.RE
75.PP
76\fB\-\-no\-wall\fR
77.RS 4
78Do not send wall message before halt, power\-off, reboot\&.
79.RE
80.SH "EXIT STATUS"
81.PP
60f067b4 82On success, 0 is returned, a non\-zero failure code otherwise\&.
14228c0d
MB
83.SH "NOTES"
84.PP
85These 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)