rc.subr: Add ${name}_env and ${name}_prepend.
commitab44448ce1ffbe43e02b07a7291a3b9ea8c4678c
authorMichael Neumann <mneumann@ntecs.de>
Sun, 27 Nov 2016 21:51:40 +0000 (27 22:51 +0100)
committerSascha Wildner <saw@online.de>
Sun, 27 Nov 2016 22:11:36 +0000 (27 23:11 +0100)
tree639c3fdba3a8130aa98cee67030dea2807b56854
parent114c18f10b2e6aee8649d1610cd4cbd5a66b603c
rc.subr: Add ${name}_env and ${name}_prepend.

${name}_env is an argument list which will be passed to env(1).
${name}_prepend is simply prepended to the command line for $command.

This fixes issues I had with starting up www/h2o as described [here][1].

Taken-From: FreeBSD (commit 77616d41a2ce3744b35e68b8a3c12e562283a322)

[1]: https://github.com/DragonFlyBSD/DeltaPorts/issues/663
etc/rc.subr
share/man/man8/rc.subr.8