aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki.in
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-29 18:27:00 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-29 18:27:00 +0000
commit03020563327db62bcbecadea700f5f534158cef3 (patch)
treedcfe688d75670664acef46803b82115aba16953d /ikiwiki.in
parent6be1832ce0de17ba83c8e9f2fecd0c045b7c863c (diff)
downloadikiwiki-03020563327db62bcbecadea700f5f534158cef3.tar
ikiwiki-03020563327db62bcbecadea700f5f534158cef3.tar.gz
* Add --post-commit option, which allows for the case of a split web server
and RCS server (or a push mirror). With this the RCS server can have a real post-commit hook that sshs back to the web server, and runs ikiwiki in post-commit mode to update the wiki.
Diffstat (limited to 'ikiwiki.in')
-rwxr-xr-xikiwiki.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/ikiwiki.in b/ikiwiki.in
index 5dd1064f9..8c46d5e9f 100755
--- a/ikiwiki.in
+++ b/ikiwiki.in
@@ -25,6 +25,7 @@ sub getconfig () { #{{{
"syslog!" => \$config{syslog},
"rebuild!" => \$config{rebuild},
"refresh!" => \$config{refresh},
+ "post-commit" => \$config{post_commit},
"render=s" => \$config{render},
"wrappers!" => \$config{wrappers},
"getctime" => \$config{getctime},