diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/usage.mdwn | 4 | ||||
-rw-r--r-- | doc/wrapperparamstrick.mdwn | 20 |
2 files changed, 1 insertions, 23 deletions
diff --git a/doc/usage.mdwn b/doc/usage.mdwn index 83866c1a8..b9744438b 100644 --- a/doc/usage.mdwn +++ b/doc/usage.mdwn @@ -44,9 +44,7 @@ flags such as --verbose can be negated with --no-verbose. The wrapper is designed to be safely made suid and be run by untrusted users, as a [[Subversion]] [[post-commit]] hook, or as a [[CGI]]. - Note that the generated wrapper will ignore all command line parameters - except for --params, which will make it print out the parameters it would - run ikiwiki with. + Note that the generated wrapper will ignore all command line parameters. * --wrappermode mode diff --git a/doc/wrapperparamstrick.mdwn b/doc/wrapperparamstrick.mdwn deleted file mode 100644 index d55629a79..000000000 --- a/doc/wrapperparamstrick.mdwn +++ /dev/null @@ -1,20 +0,0 @@ -ikiwiki --wrapper can be used to generate a wrapper -program that runs ikiwiki with the specified parameters. This is used for -[[post-commit]] hooks, [[CGI]], etc, both for convenience and because these -things often need suid wrapper scripts to make ikiwiki run as the right -user. - -The generated wrapper is a binary program. What if you want to regenerate -it with different parameters, or just run ikiwiki like it would but with -some parameter changed? To easily accomomplish this, the wrappers all -support being run with --params, which causes them to print out the -parameters they run ikiwiki with. - -You can use this trick to regenerate a wrapper, adding or changing a -parameter: - - ikiwiki $(./ikiwiki-wrap --params) --wikiname="newname" --wrapper - -Or just to run ikiwiki like the wrapper would, and add a parameter: - - ikiwiki $(./ikiwiki-wrap --params) --rebuild |