summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/server/plugins/trigger.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/server/plugins/trigger.txt b/doc/server/plugins/trigger.txt
index 065bc5ad2..853b524e4 100644
--- a/doc/server/plugins/trigger.txt
+++ b/doc/server/plugins/trigger.txt
@@ -6,13 +6,14 @@
Trigger
=======
-Trigger is a plugin that calls external scripts when clients are
-configured.
+Trigger is a plugin that calls external scripts (on the server) when
+clients are configured.
Setup
=====
-::
+First, add Trigger to the **plugins** line in bcfg2.conf. Then do the
+following::
mkdir /var/lib/bcfg2/Trigger
echo "#!/bin/sh\necho $1\n" > /var/lib/bcfg2/Trigger/test.sh