diff options
| author | Adam <Adam@anope.org> | 2011-03-11 00:47:28 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-03-11 00:47:28 -0500 |
| commit | 1ee3d3d81034c2e2d8c1bf55db8963a50e35f363 (patch) | |
| tree | d8952ff4d27e144eedd63a056971dfc2b1af5411 /data | |
| parent | 97c2e0957d32c87e1055041e43eb13a4a26d0765 (diff) | |
Added os_config and support for including additional configuration files.
Diffstat (limited to 'data')
| -rw-r--r-- | data/example.conf | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/data/example.conf b/data/example.conf index c797a2f84..783c1fb14 100644 --- a/data/example.conf +++ b/data/example.conf @@ -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 @@ -1773,6 +1773,24 @@ defcon } /* + * [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 * * The following blocks are used to load all non-core modules, including 3rd-party modules. |
