summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/rsync.pm2
-rw-r--r--doc/plugins/rsync.mdwn7
2 files changed, 5 insertions, 4 deletions
diff --git a/IkiWiki/Plugin/rsync.pm b/IkiWiki/Plugin/rsync.pm
index 45bff19bd..e38801e4a 100644
--- a/IkiWiki/Plugin/rsync.pm
+++ b/IkiWiki/Plugin/rsync.pm
@@ -19,7 +19,7 @@ sub getsetup () {
},
rsync_command => {
type => "string",
- example => "rsync -qa --delete . user\@host:/path/to/docroot/ --exclude ikiwiki.cgi",
+ example => "rsync -qa --delete . user\@host:/path/to/docroot/",
description => "command to run to sync updated pages",
safe => 0,
rebuild => 0,
diff --git a/doc/plugins/rsync.mdwn b/doc/plugins/rsync.mdwn
index 9bfe7303e..e0ab96d14 100644
--- a/doc/plugins/rsync.mdwn
+++ b/doc/plugins/rsync.mdwn
@@ -7,11 +7,12 @@ The command to run is specified by setting `rsync_command` in your setup
file. The command will be run in your destdir, so something like this
is a typical command:
- rsync => 'rsync -qa --delete . user@host:/path/to/docroot/ --exclude ikiwiki.cgi',
+ rsync => 'rsync -qa --delete . user@host:/path/to/docroot/',
If using rsync over ssh, you will need to enable noninteractive ssh login
to the remote host. It's also a good idea to specify the exact command line
to be permitted in the remote host's `$HOME/.ssh/authorized_keys`.
-Be sure to exclude the `ikiwiki.cgi` wrapper from being sent to the remote
-host, as in the above example.
+A typival ikiwiki configuration when using this plugin is to disable cgi
+support, so ikiwiki builds a completely static site that can be served from
+the remote host.