From: ajacoutot Date: Thu, 30 Dec 2021 08:14:29 +0000 (+0000) Subject: Sync rcexec with reality. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e7d770b651498606f34e76f7f1f4e0e3ee972f90;p=openbsd Sync rcexec with reality. --- diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8 index 7eda03e6caa..522d5aec2ed 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.41 2021/11/11 12:23:15 ajacoutot Exp $ +.\" $OpenBSD: rc.subr.8,v 1.42 2021/12/30 08:14:29 ajacoutot Exp $ .\" .\" Copyright (c) 2021 Antoine Jacoutot .\" Copyright (c) 2011 Robert Nagy, Antoine Jacoutot, Ingo Schwarze @@ -25,7 +25,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: November 11 2021 $ +.Dd $Mdocdate: December 30 2021 $ .Dt RC.SUBR 8 .Os .Sh NAME @@ -333,11 +333,11 @@ Holds the full command used to run the daemon. Defaults to: .Pp -.Dl "su -l -c ${daemon_class} -s /bin/sh ${daemon_user} -c" +.Dl "su -fl -c ${daemon_class} -s /bin/sh ${daemon_user} -c" .El -If +If the routing table of the current process differs from .Va daemon_rtable -is set, the following +the following .Xr route 8 command is prepended to .Va rcexec :