summaryrefslogtreecommitdiff
path: root/man1
diff options
context:
space:
mode:
Diffstat (limited to 'man1')
-rw-r--r--man1/jaildaemon.116
1 files changed, 8 insertions, 8 deletions
diff --git a/man1/jaildaemon.1 b/man1/jaildaemon.1
index bd00a45..8d1994d 100644
--- a/man1/jaildaemon.1
+++ b/man1/jaildaemon.1
@@ -100,7 +100,7 @@ The
100.Nm 100.Nm
101daemon normally is run from its 101daemon normally is run from its
102.Xr rc 8 102.Xr rc 8
103script on boot time. Invoke the daemon by hand using this command. 103script on boot time. Invoke the daemon by hand using this command:
104.Bl -tag -width indent 104.Bl -tag -width indent
105.It Nm Fl D Fl p Ar /var/run/jaildaemon.pid 105.It Nm Fl D Fl p Ar /var/run/jaildaemon.pid
106Start the daemon and write the daemon's pid to the file 106Start the daemon and write the daemon's pid to the file
@@ -115,12 +115,12 @@ While the first examples show you what is possible, the most simple way of
115scripting an action is to write a small wrapper script as shown in the third 115scripting an action is to write a small wrapper script as shown in the third
116example. 116example.
117.Bl -tag -width indent 117.Bl -tag -width indent
118.It Nm Fl c Ar 'ezjail-admin restart foo.com' Fl j Ar 23 Fl t Ar EZJAIL_REBOOT 118.It Nm Fl c Ar 'ezjail-admin restart example.com' Fl j Ar 23 Fl t Ar EZJAIL_REBOOT
119Start a probe in jail with jid 23 (presumably a jail with the name 119Start a probe in jail with jid 23 (presumably a jail with the name
120.Dq foo.com ) 120.Dq example.com )
121and assign it the command 121and assign it the command
122.Bd -literal -offset indent 122.Bd -literal -offset indent
123ezjail-admin restart foo.com 123ezjail-admin restart example.com
124.Ed 124.Ed
125.Pp 125.Pp
126The proctitle 126The proctitle
@@ -130,12 +130,12 @@ script inside the jail with the command
130.Bd -literal -offset indent 130.Bd -literal -offset indent
131pkill -HUP -f EZJAIL_REBOOT 131pkill -HUP -f EZJAIL_REBOOT
132.Ed 132.Ed
133.It Nm Fl c Ar 'zfs snapshot jails/foo.com@`date +%s`' Fl j Ar 42 Fl r Fl t Ar ZFS_SNAPSHOT 133.It Nm Fl c Ar 'zfs snapshot jails/example.com@`date +%s`' Fl j Ar 42 Fl r Fl t Ar ZFS_SNAPSHOT
134Start a probe in jail with jid 42 (presumably a jail with the name 134Start a probe in jail with jid 42 (presumably a jail with the name
135.Dq foo.com ) 135.Dq example.com )
136and assign it the command 136and assign it the command
137.Bd -literal -offset indent 137.Bd -literal -offset indent
138zfs snapshot jails/foo.com@`date +%s` 138zfs snapshot jails/example.com@`date +%s`
139.Ed 139.Ed
140.Pp 140.Pp
141The proctitle 141The proctitle
@@ -148,7 +148,7 @@ pkill -HUP -f ZFS_SNAPSHOT
148.Pp 148.Pp
149After the zfs snapshot command finished, a new probe with identical paramters is 149After the zfs snapshot command finished, a new probe with identical paramters is
150spawned and attached to the jail. 150spawned and attached to the jail.
151.It Nm Fl c Ar 'reload_routing_table.sh foo.com' Fl j Ar 1 Fl r Fl t Ar UPDATE_ROUTING 151.It Nm Fl c Ar 'reload_routing_table.sh example.com' Fl j Ar 1 Fl r Fl t Ar UPDATE_ROUTING
152.El 152.El
153.Sh FILES 153.Sh FILES
154.Pa /var/run/jaildaemon.pipe 154.Pa /var/run/jaildaemon.pipe