diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2015-01-15 09:20:38 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2015-01-15 09:20:38 +0000 |
commit | af3c9d413efd8a252cf5e3ffaaf111b1ad2dc5d9 (patch) | |
tree | d446661d50887c494822f61805fb73f2543fed63 /share/man/man8 | |
parent | 8bbaf1ed132aec808084610313cebe813d862413 (diff) |
Extend the description of _timeout.
Diffstat (limited to 'share/man/man8')
-rw-r--r-- | share/man/man8/rc.d.8 | 15 | ||||
-rw-r--r-- | share/man/man8/rc.subr.8 | 15 |
2 files changed, 24 insertions, 6 deletions
diff --git a/share/man/man8/rc.d.8 b/share/man/man8/rc.d.8 index 82f1d1d8346..9847434df80 100644 --- a/share/man/man8/rc.d.8 +++ b/share/man/man8/rc.d.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rc.d.8,v 1.26 2014/07/22 08:48:07 ajacoutot Exp $ +.\" $OpenBSD: rc.d.8,v 1.27 2015/01/15 09:20:37 ajacoutot Exp $ .\" .\" Copyright (c) 2011 Robert Nagy, Antoine Jacoutot, Ingo Schwarze .\" All rights reserved. @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: July 22 2014 $ +.Dd $Mdocdate: January 15 2015 $ .Dt RC.D 8 .Os .Sh NAME @@ -115,11 +115,20 @@ User to run the daemon as, using .Xr su 1 . .It Ar daemon Ns _timeout Maximum time in seconds to wait for the -.Cm start , +.Cm start +(only if +.Va rc_bg +is set), .Cm stop and .Cm reload actions to return. +This is only guaranteed with the default +.Ic rc_start , +.Ic rc_stop +and +.Ic rc_reload +functions. .El .Pp To obtain the actual variable names, replace diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8 index 4f6cce78140..6b08bd504bd 100644 --- a/share/man/man8/rc.subr.8 +++ b/share/man/man8/rc.subr.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rc.subr.8,v 1.27 2014/09/22 16:27:03 schwarze Exp $ +.\" $OpenBSD: rc.subr.8,v 1.28 2015/01/15 09:20:37 ajacoutot Exp $ .\" .\" Copyright (c) 2011 Robert Nagy, Antoine Jacoutot, Ingo Schwarze .\" All rights reserved. @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: September 22 2014 $ +.Dd $Mdocdate: January 15 2015 $ .Dt RC.SUBR 8 .Os .Sh NAME @@ -234,11 +234,20 @@ User to run the daemon as, using .Xr su 1 . .It Va daemon_timeout Maximum time in seconds to wait for the -.Cm start , +.Cm start +(only if +.Va rc_bg +is set), .Cm stop and .Cm reload actions to return. +This is only guaranteed with the default +.Ic rc_start , +.Ic rc_stop +and +.Ic rc_reload +functions. .It Va daemon_class Login class to run the daemon with, using .Xr su 1 . |