aboutsummaryrefslogtreecommitdiff
path: root/doc/post-commit.mdwn
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-09-05 18:44:32 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-09-05 18:44:32 +0000
commitf1babffe20cdeb5c8ccca0812bdf7948150a077d (patch)
tree2e6275b968aef31c49dd4c2e04ef8a0cb7168b7f /doc/post-commit.mdwn
parent85aa453d0f34f697f0f2554a52900c35b68432b3 (diff)
downloadikiwiki-f1babffe20cdeb5c8ccca0812bdf7948150a077d.tar
ikiwiki-f1babffe20cdeb5c8ccca0812bdf7948150a077d.tar.gz
web commit by http://natalian.org/: a little clearer
Diffstat (limited to 'doc/post-commit.mdwn')
-rw-r--r--doc/post-commit.mdwn9
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/post-commit.mdwn b/doc/post-commit.mdwn
index ea11ba7c9..18eae1735 100644
--- a/doc/post-commit.mdwn
+++ b/doc/post-commit.mdwn
@@ -1,10 +1,7 @@
If your wiki is kept in [[revision_control|rcs]], a post-commit hook is run
-every time you commit a change to your repository. To make the wiki be
-updated each time a commit is made, it can be run from (or as) a
-post-commit hook.
+every time you commit a change to your repository.
-The best way to run ikiwiki in a post-commit hook is using a wrapper, which
-ikiwiki is usually configured to generate using a setup file.
+ikiwiki generates the "post-commit hook" once you've uncommented the relevant section (under wrappers) in the ikiwiki.setup.
The generated wrapper is a C program that is designed to safely be made
suid if necessary. It's hardcoded to run ikiwiki with the settings
@@ -17,4 +14,4 @@ your wiki checkout and html directory. If so, you can safely make
the wrapper suid to a user who can write there (*not* to root!). You might
want to read [[Security]] first.
-[[Setup]] explains setting this up in more detail.
+[[Setup]] explains setting this up from the start and see [[rcs/details]] to know more.