2.0/Modules/os shutdown
From AnopeWiki
Language | |
---|---|
English |
|
Description
- SHUTDOWN
- Causes Services to save all databases and then shut down.
- RESTART
- Causes Services to save all databases and then restart (i.e. exit and immediately re-run the executable).
- 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.
- NOTE: Access to these commands require the permission operserv/shutdown to be present in your opertype'.
Commands
- shutdown
- restart
- quit
Examples
/msg OperServ SHUTDOWN
/msg OperServ RESTART
Default Configuration
/* * os_shutdown * * Provides the commands operserv/quit, operserv/restart, and operserv/shutdown. * * Used to quit, restart, or shutdown services. */ module { name = "os_shutdown" } command { service = "OperServ"; name = "QUIT"; command = "operserv/quit"; permission = "operserv/quit"; } command { service = "OperServ"; name = "RESTART"; command = "operserv/restart"; permission = "operserv/restart"; } command { service = "OperServ"; name = "SHUTDOWN"; command = "operserv/shutdown"; permission = "operserv/shutdown"; }