summaryrefslogtreecommitdiff
path: root/usr.sbin/relayctl/relayctl.8
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2006-12-16 18:50:34 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2006-12-16 18:50:34 +0000
commit19d82ea2d7751a0b7ec8fa66d2a2053a369f0403 (patch)
treed91fc3a03e096ac77beaf625f8687d85b92e7b05 /usr.sbin/relayctl/relayctl.8
parenteb9e468ffdd8750ab38d6914ccb20acb388e2102 (diff)
- allow to use host/service/table names instead of Ids in hostatectl.
- minor change of the "hostatectl show" command output - increase the max service and tag names (max pf tag name size is 64 now!) thanks to pyr who found a bug in my initial diff
Diffstat (limited to 'usr.sbin/relayctl/relayctl.8')
-rw-r--r--usr.sbin/relayctl/relayctl.814
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/relayctl/relayctl.8 b/usr.sbin/relayctl/relayctl.8
index 18038c6c368..68ba60ffa02 100644
--- a/usr.sbin/relayctl/relayctl.8
+++ b/usr.sbin/relayctl/relayctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: relayctl.8,v 1.2 2006/12/16 11:48:38 reyk Exp $
+.\" $OpenBSD: relayctl.8,v 1.3 2006/12/16 18:50:33 reyk Exp $
.\"
.\" Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
.\"
@@ -36,32 +36,32 @@ The following commands are available:
.It Cm show
.It Cm show summary
Show status of services, tables and hosts.
-.It Cm service disable id
+.It Cm service disable Op Ar name | id
Disable a service.
If it has
.Xr pf 4
redirection rules installed, remove them.
Mark the service's main table and -
if applicable - backup table disabled as well.
-.It Cm service enable id
+.It Cm service enable Op Ar name | id
Enable a service.
Mark the service's main table and - if applicable - backup
table enabled as well.
-.It Cm table disable id
+.It Cm table disable Op Ar name | id
Disable a table.
Consider all hosts disabled.
If it is a main table of a service which has a non-empty backup table,
swap the contents of the
.Xr pf 4
table with those of the backup table.
-.It Cm table enable id
+.It Cm table enable Op Ar name | id
Enable a table.
Start doing checks for all hosts that aren't individually disabled
again.
-.It Cm host disable id
+.It Cm host disable Op Ar name | id
Disable a host.
Treat it as though it were always down.
-.It Cm host enable id
+.It Cm host enable Op Ar name | id
Enable the host.
Start checking its health again.
.El