/[base]
ViewVC logotype

Revision 367550


Jump to revision: Previous Next
Author: 0mp
Date: Tue Nov 10 10:19:55 2020 UTC (3 years, 7 months ago)
Changed paths: 3
Log Message:
MFC r351863:

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)
Requested by:	koobs


Changed paths

Path Details
Directorystable/12/ modified , props changed
Directorystable/12/libexec/rc/rc.subr modified , text changed
Directorystable/12/share/man/man8/rc.subr.8 modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27