summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaul C. Buetow <paul@buetow.org>2014-04-22 20:40:31 +0200
committerPaul C. Buetow <paul@buetow.org>2014-04-22 20:40:31 +0200
commit0f10a9c86027f344ac79315d4d841af3123facfe (patch)
tree4b2639d332ddb1f84204a3eab5aa081c872e0ea8 /docs
parenta6c88d1f66ea2679818727cf66bb8765949f7bb3 (diff)
New release
Diffstat (limited to 'docs')
-rw-r--r--docs/fapi.115
-rw-r--r--docs/fapi.txt13
2 files changed, 19 insertions, 9 deletions
diff --git a/docs/fapi.1 b/docs/fapi.1
index 63436ab..53dc4dc 100644
--- a/docs/fapi.1
+++ b/docs/fapi.1
@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "FAPI 1"
-.TH FAPI 1 "2014-04-17" "fapi 0.0.6" "User Commands"
+.TH FAPI 1 "2014-04-22" "fapi 0.0.7" "User Commands"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -191,15 +191,15 @@ Update your sources list:
.PP
.Vb 4
\& curl http://deb.buetow.org/apt/pubkey.gpg | sudo apt\-key add \-
-\& echo \*(Aqdeb http://deb.buetow.org/apt wheezy main\*(Aq > \e
-\& /etc/apt/sourcees.list.d/buetoworg.list
-\& aptitude update
+\& echo deb http://deb.buetow.org/apt wheezy main |
+\& sudo tee /etc/apt/sourcees.list.d/buetoworg.list
+\& sudo aptitude update
.Ve
.PP
And run
.PP
.Vb 3
-\& aptitude install fapi
+\& sudo aptitude install fapi
\& cp /usr/share/fapi/fapi.conf.sample ~/.fapi.conf
\& vim ~/.fapi.conf
.Ve
@@ -310,7 +310,12 @@ Examples:
\&
\& # vserver name is foo, its virtual address 1.2.3.4 and port is 80
\& f vserver foo:1.2.3.4:80 create
+\&
+\& # vserver name is 1.2.3.5, its virtual address 1.2.3.4 and port is 80
+\& f vserver 1.2.3.5:1.2.3.4:80 create
.Ve
+.PP
+Similar may apply to other object types such as nodes and vips.
.SH "AUTHOR"
.IX Header "AUTHOR"
Paul C. Buetow \- <paul@buetow.org>
diff --git a/docs/fapi.txt b/docs/fapi.txt
index bcbf496..ebc7dc1 100644
--- a/docs/fapi.txt
+++ b/docs/fapi.txt
@@ -51,13 +51,13 @@ QUICK START
Update your sources list:
curl http://deb.buetow.org/apt/pubkey.gpg | sudo apt-key add -
- echo 'deb http://deb.buetow.org/apt wheezy main' > \
- /etc/apt/sourcees.list.d/buetoworg.list
- aptitude update
+ echo deb http://deb.buetow.org/apt wheezy main |
+ sudo tee /etc/apt/sourcees.list.d/buetoworg.list
+ sudo aptitude update
And run
- aptitude install fapi
+ sudo aptitude install fapi
cp /usr/share/fapi/fapi.conf.sample ~/.fapi.conf
vim ~/.fapi.conf
@@ -152,6 +152,11 @@ EXAMPLES
# vserver name is foo, its virtual address 1.2.3.4 and port is 80
f vserver foo:1.2.3.4:80 create
+ # vserver name is 1.2.3.5, its virtual address 1.2.3.4 and port is 80
+ f vserver 1.2.3.5:1.2.3.4:80 create
+
+ Similar may apply to other object types such as nodes and vips.
+
AUTHOR
Paul C. Buetow - <paul@buetow.org>