| Revision: | 1.1 |
| Committed: | Mon Jun 18 21:11:58 2001 UTC (25 years, 3 months ago) by root |
| Branch: | MAIN |
| CVS Tags: | mp_j, dp_j, cp_j, HEAD |
| Branch point for: | connpatch, dirpatch, mmapppatch |
| Log Message: | *** empty log message *** |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | root | 1.1 | #!/bin/sh |
| 2 | # | ||
| 3 | # thttpd_wrapper - wrapper script for thttpd on FreeBSD 3.x | ||
| 4 | # | ||
| 5 | # This goes in /usr/local/sbin. It runs thttpd in a loop. If thttpd | ||
| 6 | # exits then the script restarts it automatically. | ||
| 7 | # | ||
| 8 | # The -D flag tells thttpd to *not* put itself into the background, | ||
| 9 | # and the -C flag tells it to get the rest of its configuration from | ||
| 10 | # the specified config file. | ||
| 11 | |||
| 12 | while true ; do | ||
| 13 | /usr/local/sbin/thttpd -D -C /usr/local/www/thttpd_config | ||
| 14 | sleep 10 | ||
| 15 | done |