summaryrefslogtreecommitdiffstats
path: root/Reaktor/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'Reaktor/config.py')
-rw-r--r--Reaktor/config.py19
1 files changed, 13 insertions, 6 deletions
diff --git a/Reaktor/config.py b/Reaktor/config.py
index 247838d6..0483d46b 100644
--- a/Reaktor/config.py
+++ b/Reaktor/config.py
@@ -70,12 +70,7 @@ public_commands = [
})
]
commands = [
- default_command('reload')
- default_command('nag', env={
- 'workdir': workdir,
- 'hostsdir': '/home/tv/krebs/hosts',
- 'servicesdir': '/home/tv/krebs/services'
- })
+ default_command('reload'),
]
on_join = [
@@ -85,3 +80,15 @@ on_join = [
'env': { 'state_file': workdir + '/tell.txt' }
}
]
+
+on_ping = [
+ {
+ 'capname': 'nag',
+ 'argv': [ 'commands/nag' ],
+ 'env': {
+ 'hosts_repo': 'https://github.com/krebscode/hosts',
+ 'services_repo': '/home/tv/krebs/services'
+ },
+ 'targets': irc_channels
+ }
+]