HomeFreeBSD

service(8): set the environment of the "daemon" class before invoking

Description

service(8): set the environment of the "daemon" class before invoking

As mentioned in r357562, this gives the user a single place to configure
environment variables that need to be used for various services -- the
"daemon" class -- for, e.g., configuring a system-wide HTTP proxy.

This is a part of D21481.

(cherry picked from commit 736a5a6d1dbbdae68eb102c2ba9c114aafd61821)

Details

Provenance
andrew_tao173.riddles.org.ukAuthored on Feb 5 2020, 4:32 AM
kevansCommitted on Feb 4 2021, 3:14 AM
Parents
rGf6512d13154a: init(8): set environment variables from the "daemon" class as well
Branches
Unknown
Tags
Unknown