File: howto.mdwn

package info (click to toggle)
ikiwiki-hosting 0.20140613
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 788 kB
  • ctags: 283
  • sloc: perl: 5,124; sh: 182; ansic: 168; makefile: 50
file content (23 lines) | stat: -rw-r--r-- 741 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Shell recipes for various things.

## Running a command on all sites

Sometimes you have a ikisite command that needs to be run on every site.
For example, adding a new setup option. No problem:

	for s in $(ikisite list); do ikisite foo $s ; done

## Parking a site

A parked site has all remote access to its content disabled, and replaced
with a vague message saying it is unavailable. This can be useful if there
was a legal or payment problem, or to reserve a particular site name.

	sudo ikisite changesetup test.branchable.com --enable-plugin parked --rebuild

Optionally, include `--set parked_message="reason why it was parked"`

## Unparking a site

	sudo ikisite changesetup test.branchable.com --disable-plugin parked --rebuild