$PATH for services

Victor Sudakov vas at sibptus.ru
Fri Apr 3 15:49:12 UTC 2020


Dear Colleagues,

What is the correct way to pass PATH (and other environment variables)
to services started from /usr/local/etc/rc.d ? I'm especially interested
in daemons which are expected to start other daemons.

One of the examples is zabbix_agentd which is supposed to start lots of
helper binaries. Fortunatly it has a special provision for that: the
$zabbix_agentd_paths rc.conf variable.

What about other services/daemons which are not so lucky?

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20200403/03fc79df/attachment.sig>


More information about the freebsd-questions mailing list