diff options
Diffstat (limited to 'www/thttpd/Makefile')
-rw-r--r-- | www/thttpd/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/www/thttpd/Makefile b/www/thttpd/Makefile index dbce4834afcc..691f94183195 100644 --- a/www/thttpd/Makefile +++ b/www/thttpd/Makefile @@ -41,6 +41,7 @@ do-install: @if [ ! -f ${PREFIX}/sbin/thttpd_wrapper ]; then \ ${ECHO} "Installing ${PREFIX}/sbin/thttpd_wrapper file."; \ ${ECHO} "#!/bin/sh" > ${PREFIX}/sbin/thttpd_wrapper; \ + ${ECHO} "${ECHO} \$$\$$ > /var/run/thttpd_wrapper.pid" >> ${PREFIX}/sbin/thttpd_wrapper; \ ${ECHO} "while true ; do" >> ${PREFIX}/sbin/thttpd_wrapper; \ ${ECHO} " ${PREFIX}/sbin/thttpd -D -C ${PREFIX}/etc/thttpd.conf" >> ${PREFIX}/sbin/thttpd_wrapper; \ ${ECHO} " sleep 10" >> ${PREFIX}/sbin/thttpd_wrapper; \ |