summaryrefslogtreecommitdiff
path: root/usr.sbin/hostatectl/hostatectl.8
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/hostatectl/hostatectl.8')
-rw-r--r--usr.sbin/hostatectl/hostatectl.814
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/hostatectl/hostatectl.8 b/usr.sbin/hostatectl/hostatectl.8
index 7b97135a8dc..2b5fe52a00e 100644
--- a/usr.sbin/hostatectl/hostatectl.8
+++ b/usr.sbin/hostatectl/hostatectl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hostatectl.8,v 1.2 2006/12/16 11:48:38 reyk Exp $
+.\" $OpenBSD: hostatectl.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