⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mini_httpd.init

📁 嵌入式web服务器源代码。可以移植的arm等嵌入式上。经试验运行稳定可靠。欢迎下载并给出建议
💻 INIT
字号:
#!/bin/sh# mini_httpd startup script# Nelson Minar <nelson@monkey.org> Thu Dec 30 13:54:31 PST 1999# the following two lines added 2000-01-31 by Bennett Todd <bet@rahul.net># chkconfig: 2345 99 01# description: control script for mini_httpd# configuration options:DOCROOT=/home/httpd/htmlLOGFILE=/var/log/httpd/mini_httpdPIDFILE=/var/run/mini_httpd.pidHTTPD=/usr/bin/mini_httpd. /etc/rc.d/init.d/functionscase "$1" in    start)        if [ ! -d $DOCROOT ]; then            echo "mini_httpd: $DOCROOT does not exist."            exit 1;        fi        cd $DOCROOT	action "Starting mini_httpd" $HTTPD -l $LOGFILE -i $PIDFILE;        touch /var/lock/subsys/httpd        ;;    stop)        echo -n "Stopping mini_httpd "         killproc mini_httpd        echo        rm -f /var/lock/subsys/httpd $PIDFILE        ;;    status)        status mini_httpd        ;;    restart|reload)        $0 stop        $0 start	;;    *)	echo "Usage: mini_httpd {start|stop|status|restart|reload}"	;;esacexit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -