supervise-env
directoryecho VALUE > /package/admin/svclean-conf/supervise-env/NAME
The supervise-env
directory can be used to configure
supervise
's environment: run
svclean-svscan
with the
$SUPERVISE_ENV
environment variable set to the full path
to this directory. This directory will then be used with
envdir
to configure supervise
's environment.
This lets you specify global values for $PATH
,
$DNSCACHEIP
, etc.
After changing any of these, you can put the change to use just by
"svc -dx /service/foo
". svscan
will restart supervise
with the new environment, so there's no
need to reboot.