Date: Mon, 20 Aug 2007 23:19:42 +0200
From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To: rc@freebsd.org
Subject: ${name}_user / ${name}_group
Message-ID: <86tzqtewep.fsf@ds4.des.no>
next in thread | raw e-mail | index | archive | help
Varnish (www/varnish in ports) uses -u / -g on the command line to
specify a user / group the child process should run as. I'd like to
allow the user to configure these as varnishd_user / varnishd_group in
rc.conf. However, ${name}_user and ${name}_group are magic in rc.subr;
it interprets them as a user / group to su to before starting / killing
${name}_program.
Is there any way I can work around this, other than 'unset _user _group'
after load_rc_config?
DES
--
Dag-Erling Smørgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86tzqtewep.fsf>
