diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-09-10 13:42:04 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-09-10 13:42:04 +0000 |
commit | 5928bf00c094a250c3d9cc4346075cd65c87e865 (patch) | |
tree | d9d00749c1ea23c6df7af35be5517631830d1cb4 /doc/s6-halt.html | |
parent | a19ce7bb451236b79ac79d7ffc8e8fa12323ea0d (diff) | |
download | s6-linux-utils-5928bf00c094a250c3d9cc4346075cd65c87e865.tar.xz |
Remove s6-halt, s6-poweroff and s6-reboot (moved to the s6-linux-init package)
Diffstat (limited to 'doc/s6-halt.html')
-rw-r--r-- | doc/s6-halt.html | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/doc/s6-halt.html b/doc/s6-halt.html deleted file mode 100644 index 4837b86..0000000 --- a/doc/s6-halt.html +++ /dev/null @@ -1,55 +0,0 @@ -<html> - <head> - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <meta http-equiv="Content-Language" content="en" /> - <title>s6-linux-utils: the s6-halt program</title> - <meta name="Description" content="s6-linux-utils: the s6-halt program" /> - <meta name="Keywords" content="s6 linux administration root utilities shutdown halt poweroff reboot" /> - <!-- <link rel="stylesheet" type="text/css" href="http://skarnet.org/default.css" /> --> - </head> -<body> - -<p> -<a href="index.html">s6-linux-utils</a><br /> -<a href="http://skarnet.org/software/">Software</a><br /> -<a href="http://skarnet.org/">skarnet.org</a> -</p> - -<h1> The <tt>s6-halt</tt> program </h1> - -<p> -<tt>s6-halt</tt> sends a signal to process 1 in order to halt the machine; -or, with the <tt>-f</tt> option, it performs an immediate hard shutdown. -</p> - -<h2> Interface </h2> - -<pre> - s6-halt [ -h | -p | -r ] [ -f ] -</pre> - -<ul> - <li> s6-halt sends a signal to process 1. </li> - <li> It then exits 0. </li> -</ul> - -<h2> Options </h2> - -<ul> - <li> <tt>-h</tt> : halt. The command will order a halt (i.e. the system will -be shut down, but the power will remain up), which means -sending a SIGUSR2 to process 1. This is the default. </li> - <li> <tt>-p</tt> : poweroff. The command will order a power off, which means -sending a SIGUSR1 to process 1. </li> - <li> <tt>-r</tt> : reboot. The command will order a reboot, which means -sending a SIGINT to process 1. </li> - <li> <tt>-f</tt> : force. The command will not send any signal to process 1; -it will just sync the filesystems then tell the kernel to halt, poweroff or reboot. -<tt>s6-reboot -f</tt> or <tt>s6-poweroff -f</tt> should be the last program -executed in the lifetime of a machine, at the end of the shutdown script called -by process 1 when it receives a signal telling it to shut down. </li> -</ul> - -</body> -</html> |