rc.subr: Add ${name}_env and ${name}_prepend.
commita512831c9ad09a2356dbf9ee5d5d60ef84cbb985
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:04:38 +0000 (27 23:04 +0100)
tree1539948677459b9d582bf6b85d174ebc7d4b97a4
parent19bd59e4a136d9f93320462c0b42eae5b3e97dd3
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