Steve Litt:

####### RUN THE DAEMON #######
exec envuidgid slitt envdir ./env setuidgid slitt \
/d/at/python/littcron/littcron.py \
/d/at/python/littcron/crontab

Joel Rees:
man exec for clues to that, understand that littcron.py is Steve's
special cron (right, Steve?), and that he is setting up a special
environment for things and there's other stuff there that I can only
guess at, not having the code to littcron, I think. So I'll punt here.

You can go a little further.  "man envuidgid", "man envdir", and "man 
setuidgid" for the remaining clues.  The Debian daemontools package has manual pages, derived from the 
original WWW pages.

* http://untroubled.org/daemontools-encore/envuidgid.8.html
* http://cr.yp.to/daemontools/envuidgid.html
* http://untroubled.org/daemontools-encore/envdir.8.html
* http://cr.yp.to/daemontools/envdir.html
* http://untroubled.org/daemontools-encore/setuidgid.8.html
* http://cr.yp.to/daemontools/setuidgid.html

Both s6 and nosh have manual pages for these commands in the package, too.

* http://skarnet.org/software/s6/s6-envuidgid.html
* http://skarnet.org/software/s6/s6-envdir.html
* http://skarnet.org/software/s6/s6-setuidgid.html

You'll notice that whilst experimenting, M. Litt has ended up with a script 
that has an unnecessary command in it.  (-:

* http://thedjbway.b0llix.net/daemontools/uidgid.html


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/543a5f39.6090...@ntlworld.com

Reply via email to