thttpd-2.2.4 + daemontools-0.76
"Dale Gallagher" <[email protected]>
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Message-ID | <[email protected]> |
Hi there
Just giving thttpd a go, but am experiencing difficulties
in running it under daemontools, my preferred method of
process control. I've managed to run it, testing on port
8500, without logging via multilog, like so:
/service/thttpd/run:
#!/bin/sh
exec setuidgid thttpd /usr/local/sbin/thttpd \
-D -p 8500 -d /home/httpd/iphost/html -u thttpd \
-l /var/log/thttpd/thttpd.log
However, as per a post by Yusuf Goolamabbas to the thttpd
list on 2000-09-26, I tried the following to log via
multilog and it dies repeatedly, resulting in a defunct
thttpd process.
/service/thttpd/run:
#!/bin/sh
exec setuidgid thttpd /usr/local/sbin/thttpd \
-D -p 8500 -d /home/httpd/iphost/html -u thttpd \
-l /dev/stdout
/service/thttpd/log/run:
#!/bin/sh
exec setuidgid thttpd multilog t /var/log/thttpd
Setup info:
Linux 2.4.22
GCC 3.2.2
thttpd-2.2.4
daemontools-0.76
Any pointers/solutions would be appreciated.
Thanks
Dale
==
Download ringtones, logos and picture messages at Ananzi Mobile Fun.
http://www.ananzi.co.za/cgi-bin/goto.pl?mobile