<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.anope.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.anope.org/index.php?action=history&amp;feed=atom&amp;title=2.0%2FModules%2Fos_shutdown</id>
		<title>2.0/Modules/os shutdown - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.anope.org/index.php?action=history&amp;feed=atom&amp;title=2.0%2FModules%2Fos_shutdown"/>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/os_shutdown&amp;action=history"/>
		<updated>2026-05-29T18:45:34Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.4</generator>

	<entry>
		<id>//wiki.anope.org/index.php?title=2.0/Modules/os_shutdown&amp;diff=814&amp;oldid=prev</id>
		<title>Azander: Created page with &quot;{{Language|2.0/Modules/os_shutdown}} {{Syntax|os_shutdown|OperServ|Anope}}  == &lt;div class=&quot;moduleheader&quot;&gt;Description&lt;/div&gt; == ;SHUTDOWN :Causes Services to save all databases ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/os_shutdown&amp;diff=814&amp;oldid=prev"/>
				<updated>2014-05-09T13:56:17Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language|2.0/Modules/os_shutdown}} {{Syntax|os_shutdown|OperServ|Anope}}  == &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Description&amp;lt;/div&amp;gt; == ;SHUTDOWN :Causes Services to save all databases ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language|2.0/Modules/os_shutdown}}&lt;br /&gt;
{{Syntax|os_shutdown|OperServ|Anope}}&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Description&amp;lt;/div&amp;gt; ==&lt;br /&gt;
;SHUTDOWN :Causes Services to save all databases and then shut down.&lt;br /&gt;
;RESTART :Causes Services to save all databases and then restart (i.e. exit and immediately re-run the executable).&lt;br /&gt;
;QUIT :Causes Services to do an immediate shutdown; databases are not saved.  This command should not be used unless damage to the in-memory copies of the databases is feared and they should not be saved.&lt;br /&gt;
&lt;br /&gt;
*'''NOTE''': Access to these commands require the permission operserv/shutdown to be present in your ''opertype'.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Commands&amp;lt;/div&amp;gt; == &lt;br /&gt;
;shutdown&lt;br /&gt;
;restart&lt;br /&gt;
;quit&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Examples&amp;lt;/div&amp;gt; ==&lt;br /&gt;
/msg OperServ SHUTDOWN&lt;br /&gt;
&lt;br /&gt;
/msg OperServ RESTART&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Default Configuration&amp;lt;/div&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 * os_shutdown&lt;br /&gt;
 *&lt;br /&gt;
 * Provides the commands operserv/quit, operserv/restart, and operserv/shutdown.&lt;br /&gt;
 *&lt;br /&gt;
 * Used to quit, restart, or shutdown services.&lt;br /&gt;
 */&lt;br /&gt;
module { name = &amp;quot;os_shutdown&amp;quot; }&lt;br /&gt;
command { service = &amp;quot;OperServ&amp;quot;; name = &amp;quot;QUIT&amp;quot;; command = &amp;quot;operserv/quit&amp;quot;; permission = &amp;quot;operserv/quit&amp;quot;; }&lt;br /&gt;
command { service = &amp;quot;OperServ&amp;quot;; name = &amp;quot;RESTART&amp;quot;; command = &amp;quot;operserv/restart&amp;quot;; permission = &amp;quot;operserv/restart&amp;quot;; }&lt;br /&gt;
command { service = &amp;quot;OperServ&amp;quot;; name = &amp;quot;SHUTDOWN&amp;quot;; command = &amp;quot;operserv/shutdown&amp;quot;; permission = &amp;quot;operserv/shutdown&amp;quot;; }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Azander</name></author>	</entry>

	</feed>