HomeFreeBSD

rc: Honor ${name}_env when a custom *_cmd is defined (e.g., start_cmd)

Description

rc: Honor ${name}_env when a custom *_cmd is defined (e.g., start_cmd)

A user may set ${name}_env variable in rc.conf(5) in order to set additional
environment variables for a service command. Unfortunately, at the moment
this variable is only honored when the command is specified via the command
variable. Those additional environment variables coming from ${name}_env
are never set if the service is started via the ${rc_arg}_cmd variable (for
example start_cmd).

PR: 239692
Reviewed by: bcr, jilles
Approved by: src (jilles)
Differential Revision: https://reviews.freebsd.org/D21228

Details

Provenance
0mpAuthored on Sep 5 2019, 2:52 PM
Parents
rG92fd0827c16e: pkgbase: pfctl: tests: Put tests files in the FreeBSD-tests package
Branches
Unknown
Tags
Unknown

Event Timeline