supervise environment

Robin Bowes <[email protected]>
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
Am I right in thinking that processes started by supervise will have an 
empty environment?

Specifically, if I run a command using setuidgid, that shell running 
that command will not have the $HOME env var set unless I explicitly set 
it in the run file, e.g.

export HOME=/home/slimserver
exec /usr/local/bin/setuidgid $SLIMSERVER_USER $SLIMSERVER_BIN \
   $SLIMSERVER_ARGS $SLIMSERVER_DEBUG 2>&1

R.
-- 
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.