2009-09-12 00:28:35 +02:00
|
|
|
[[!template id=plugin name=rsync author="[[schmonz]]"]]
|
2010-02-12 09:47:21 +01:00
|
|
|
[[!tag type/special-purpose]]
|
2009-09-12 00:28:35 +02:00
|
|
|
|
|
|
|
This plugin allows ikiwiki to push generated pages to another host
|
|
|
|
by running a command such as `rsync`.
|
|
|
|
|
|
|
|
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:
|
|
|
|
|
2009-10-29 01:57:27 +01:00
|
|
|
rsync_command => 'rsync -qa --delete . user@host:/path/to/docroot/',
|
2009-09-12 00:28:35 +02:00
|
|
|
|
|
|
|
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`.
|
|
|
|
|
2009-09-12 07:32:29 +02:00
|
|
|
A typical ikiwiki configuration when using this plugin is to disable cgi
|
2009-09-12 06:24:57 +02:00
|
|
|
support, so ikiwiki builds a completely static site that can be served from
|
|
|
|
the remote host.
|