Re: supervise environment
Robin Bowes <[email protected]>
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Message-ID | <[email protected]> |
Mariano Absatz said the following on 21/10/2005 19:25: > You might like to look into envdir > (http://cr.yp.to/daemontools/envdir.html) for these kind of things... > at least, that is what djb usually uses, you then can put a file named > "HOME" in /home/slimserver/env with only one line in it that says > "/home/slimserver" and change your run script to > > exec /usr/local/bin/setuidgid $SLIMSERVER_USER \ > /usr/local/bin/envdir /home/slimserver/env $SLIMSERVER_BIN \ > $SLIMSERVER_ARGS $SLIMSERVER_DEBUG 2>&1 > > or something along the lines... Mariano, I'm aware of envdir, but thanks for the suggestion anyway. R. -- http://robinbowes.com If a man speaks in a forest, and his wife's not there, is he still wrong?