HomeFreeBSD

init(8): set environment variables from the "daemon" class as well

Description

init(8): set environment variables from the "daemon" class as well

Specifically, when running /etc/rc. This allows one to specify via
login.conf(5) an environment that should be used when running services to
ease, e.g., setting up env vars for an HTTP proxy consistently across cron
and services alike.

Future changes will extend cron(8)/service(8) to use environment vars
pecified in login.conf(5) as well to promote a more cohesive experience.

This is a part of D21481.

Submitted by: Andrew Gierth <andrew_tao173.riddles.org.uk>

Details

Provenance
kevansAuthored on
Parents
rS357561: login.conf(5): set a default PATH for the daemon class
Branches
Unknown
Tags
Unknown