summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas' Debian stuff <debian@mail.bitbase.dk>2008-04-09 11:43:13 +0200
committerJonas' Debian stuff <debian@mail.bitbase.dk>2008-04-09 11:43:13 +0200
commitb17eb4d4b9c5681979eab055e54c7d26932d4f7b (patch)
tree28eb30b47ec17c72b971795a7c02ec4639e27e3a
parenta17eacf2be1bc5238d4611af19b8dcd3e18d91e7 (diff)
Adjust ikiwiki.setup to use actual paths, and add+enable Git post-update hooks
-rw-r--r--ikiwiki.setup18
1 files changed, 9 insertions, 9 deletions
diff --git a/ikiwiki.setup b/ikiwiki.setup
index c96a45f..407a043 100644
--- a/ikiwiki.setup
+++ b/ikiwiki.setup
@@ -11,11 +11,11 @@ use IkiWiki::Setup::Standard {
adminemail => 'me@example.org',
# Be sure to customise these..
- srcdir => "/path/to/source",
- destdir => "/var/www/wiki",
+ srcdir => "/home/debian/private_webdata/sukker/content",
+ destdir => "/home/debian/public_websites/sukker.biks.dk",
- url => "http://example.org/wiki",
- cgiurl => "http://example.org/ikiwiki.cgi",
+ url => "http://sukker.biks.dk",
+ #cgiurl => "http://example.org/ikiwiki.cgi",
#templatedir => "/usr/share/ikiwiki/templates",
#underlaydir => "/usr/share/ikiwiki/basewiki",
@@ -26,7 +26,7 @@ use IkiWiki::Setup::Standard {
#svnpath => "trunk",
# Git stuff.
- #rcs => "git",
+ rcs => "git",
#historyurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=history;f=[[file]]",
#diffurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
#gitorigin_branch => "origin",
@@ -82,14 +82,14 @@ use IkiWiki::Setup::Standard {
# # hide output and errors.
# syslog => 1,
#},
- #{
+ {
# # The git post-update wrapper.
# # Note that this will overwrite any existing
# # post-update hook script, which may not be
# # what you want.
- # wrapper => "/git/wiki.git/hooks/post-update",
- # wrappermode => "06755",
- #},
+ wrapper => "/home/debian/public_websites/source.jones.dk/sukker_content.git/hooks/post-update-sukker",
+ wrappermode => "06755",
+ },
],
# Default to generating rss feeds for blogs?