Date: Fri, 3 Apr 2020 22:48:45 +0700 From: Victor Sudakov <vas@sibptus.ru> To: freebsd-questions@freebsd.org Subject: $PATH for services Message-ID: <20200403154845.GA67414@admin.sibptus.ru>
next in thread | raw e-mail | index | archive | help
--YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeh1rdAAoJEA2k8lmbXsY0oYYH/0DJRgo6ttg4dbpz5ozv4eV6 hAVdxsK8T15e2xYfGnYyhFV1EPTZg5ytCV7PaFz+6uMVgLv442fZ9Yr5a0lCYxQh DuD8CwsDHAgmri3A4YH9/f2LKRf013ubD0yQKZj8YffpoLFwnkv42P5iSvJ+1uAW j/ot9GrLsxg0sQo8jsvXtqiXDL0GcdHNF9MAopJ/D1uBrQc7wAJqEV0CJV61kI3v 3xPc5ECpQFfVsB5+3lJKqmHyt/NuDZdkz5aqSG2TML39k408dx948rXYmpTM6kBg s5ZR9NtUiS3skETmeiRnDM9lLU48nianlE7ifuNID8/0bc9lA4FOX9FmQYhPip4= =a3MU -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200403154845.GA67414>