${name}_user / ${name}_group

Dag-Erling Smørgrav des at des.no
Mon Aug 20 14:35:17 PDT 2007


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 at des.no


More information about the freebsd-rc mailing list