~ubuntu-branches/debian/sid/upstart/sid

« back to all changes in this revision

Viewing changes to compat/sysv/man/shutdown.8

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2009-07-23 00:24:02 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: james.westby@ubuntu.com-20090723002402-pm5tq3kkipr18q00
Tags: 0.6.2-1
* New major upstream release. Closes: #530348
* Remove patches that have been merged upstream or are obsolete
  - debian/patches/01-limits.patch
  - debian/patches/02-telinit-u.patch
  - debian/patches/03-static-convenience-libs.patch
* Add Build-Depends on pkg-config (>= 0.22), libdbus-1-dev (>= 1.2.16) and
  libexpat1-dev (>= 2.0.0). D-Bus has replaced the home-grown IPC.
* Bump Standards-Version to 3.8.2. No further changes.
* debian/copyright
  - Update copyright years.
  - Clarify license text, Upstart is GPL-2 only.
  - Refer to the versioned GPL-2 document.
* Drop upstart-logd package. The logd daemon has been buggy for quite a
  while and thus removed completely upstream.
* debian/upstart.postinst
  - Use "telinit u" to tell init to re-exec itself.
* debian/rules
  - Remove obsolete configure flag.
  - Use dh_install instead of copying the job files around manually.
* Merge the upstart-compat-sysv, startup-tasks and system-services package
  into a single upstart package to avoid any unnecessary diversion between
  the Debian and Ubuntu packaging.
* The location of the job files has changed from /etc/event.d to /etc/init,
  in addition a *.conf suffix is now mandatory.
* Install rc.conf, rc-sysinit.conf, rcS.conf and control-alt-delete.conf as
  provided by upstream.
* debian/conf/*.conf
  - Update tty job files for the new job syntax. Add a description and
    author field.
  - Add dbus-reconnect.conf which tells Upstart to reconnect to the D-Bus
    system bus when runlevel 2345 has been reached.
* Update debian/upstart.install to reflect the changes above.
* Drop debian/upstart.dirs, obsolete.
* debian/README.Debian
  - Sync relevant changes from the latest Ubuntu package.
  - Remove outdated information.
* Add initial support for upstart-job.
  upstart-job is both a virtual package and also small helper utility which
  allows to execute native upstart jobs while preserving the legacy sysv
  "/etc/init.d/<service> <action>" interface.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH shutdown 8 "March 2007" "Upstart"
2
 
.\"
3
 
.SH NAME
4
 
shutdown \- bring the system down
5
 
.\"
6
 
.SH SYNOPSIS
7
 
\fBshutdown\fR [\fIOPTION\fR]... \fITIME\fR [\fIMESSAGE\fR]
8
 
.\"
9
 
.SH DESCRIPTION
10
 
.B shutdown
11
 
arranges for the system to be brought down in a safe way.  All logged-in
12
 
users are notified that the system is going down and, within the last
13
 
five minutes of
14
 
.IR TIME ,
15
 
new logins are prevented.
16
 
 
17
 
.I TIME
18
 
may have different formats, the most common is simply the word
19
 
.RI ' now '
20
 
which will bring the system down immediately.  Other valid formats are
21
 
.IR +m ,
22
 
where
23
 
.I m
24
 
is the number of minutes to wait until shutting down and
25
 
.I hh:mm
26
 
which specifies the time on the 24hr clock.
27
 
 
28
 
Once
29
 
.I TIME
30
 
has elapsed,
31
 
.B shutdown
32
 
sends a request to the
33
 
.BR init (8)
34
 
daemon to bring the system down into the appropriate runlevel.
35
 
.\"
36
 
.SH OPTIONS
37
 
.TP
38
 
.BR -r
39
 
Requests that the system be rebooted after it has been brought down.
40
 
.\"
41
 
.TP
42
 
.BR -h
43
 
Requests that the system be either halted or powered off after it has been
44
 
brought down, with the choice as to which left up to the system.
45
 
.\"
46
 
.TP
47
 
.BR -H
48
 
Requests that the system be halted after it has been brought down.
49
 
.\"
50
 
.TP
51
 
.BR -P
52
 
Requests that the system be powered off after it has been brought down.
53
 
.\"
54
 
.TP
55
 
.BR -c
56
 
Cancels a running shutdown.
57
 
.I TIME
58
 
is not specified with this option, the first argument is
59
 
.I MESSAGE.
60
 
.\"
61
 
.TP
62
 
.BR -k
63
 
Only send out the warning messages and disable logins, do not actually
64
 
bring the system down.
65
 
.\"
66
 
.SH NOTES
67
 
This tool is provided for compatibility with the traditional System V
68
 
.BR init (8).
69
 
Upstart has no notion of runlevels itself, this and the
70
 
.BR telinit (8)
71
 
tool are provided to emulate their behaviour.
72
 
 
73
 
When invoked it generates a
74
 
.I runlevel
75
 
event, with an argument containing the new runlevel.
76
 
.\"
77
 
.SH AUTHOR
78
 
Written by Scott James Remnant.
79
 
.\"
80
 
.SH REPORTING BUGS
81
 
Report bugs at https://launchpad.net/products/upstart/+bugs
82
 
.\"
83
 
.SH COPYRIGHT
84
 
Copyright \(co 2007 Canonical Ltd.
85
 
.br
86
 
This is free software; see the source for copying conditions.  There is NO
87
 
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
88
 
.\"
89
 
.SH SEE ALSO
90
 
.BR init (8)
91
 
.BR telinit (8)