Note that a typical use of this plugin is for a static site, w/o cgi
support enabled.
},
rsync_command => {
type => "string",
},
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,
description => "command to run to sync updated pages",
safe => 0,
rebuild => 0,
file. The command will be run in your destdir, so something like this
is a typical command:
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`.
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.