1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 20:23:11 +02:00

Added os_config and support for including additional configuration files.

This commit is contained in:
Adam
2011-03-11 00:47:28 -05:00
parent 97c2e0957d
commit 1ee3d3d810
22 changed files with 891 additions and 668 deletions
+20 -2
View File
@@ -724,7 +724,7 @@ log
* operserv/global operserv/news operserv/stats operserv/kick
* operserv/mode operserv/session operserv/modlist operserv/ignore
* operserv/chankill operserv/akill operserv/sqline operserv/snline
* operserv/szline operserv/staff operserv/defcon
* operserv/szline operserv/staff operserv/defcon operserv/config
* operserv/modload operserv/jupe operserv/set operserv/noop
* operserv/quit operserv/update operserv/reload operserv/restart
* operserv/shutdown operserv/svsnick operserv/oline
@@ -1493,7 +1493,7 @@ operserv
*
* This directive is optional, but highly recommended.
*/
modules = "os_help os_global os_stats os_staff os_mode os_kick os_akill os_snline os_sqline os_szline os_chanlist os_userlist os_news os_session os_noop os_jupe os_ignore os_set os_reload os_update os_restart os_quit os_shutdown os_defcon os_chankill os_svsnick os_oline os_modload os_modunload os_modreload os_modlist os_modinfo"
modules = "os_help os_global os_stats os_staff os_mode os_kick os_akill os_snline os_sqline os_szline os_chanlist os_userlist os_news os_session os_noop os_jupe os_ignore os_set os_reload os_update os_restart os_quit os_shutdown os_defcon os_chankill os_svsnick os_oline os_modload os_modunload os_modreload os_modlist os_modinfo os_config"
/*
* If set, Services Admins will be able to use SUPERADMIN [ON|OFF] which will temporarily grant
@@ -1772,6 +1772,24 @@ defcon
#akillreason = "This network is currently not accepting connections, please try again later"
}
/*
* [OPTIONAL] Additional includes
*
* You can include additional configuration files here.
* You may also include executable files, which will be executed and
* the output from it will be included into your configuration.
*/
include
{
#type = "file"
#name = "some_other.conf"
}
include
{
#type = "executable"
#name = "/usr/bin/wget -q -O - http://some.miconfigured.network.com/services.conf"
}
/*
* [OPTIONAL] Non-Core Modules
*