mini_httpd.sh

来自「小型的linux下http服务器」· Shell 代码 · 共 26 行

SH
26
字号
#!/bin/sh## mini_httpd.sh - startup script for mini_httpd on FreeBSD## This goes in /usr/local/etc/rc.d and gets run at boot-time.case "$1" in     start)    if [ -x /usr/local/sbin/mini_httpd_wrapper ] ; then	echo -n " mini_httpd"	/usr/local/sbin/mini_httpd_wrapper &    fi    ;;    stop)    kill -USR1 `cat /var/run/mini_httpd.pid`    ;;	        *)    echo "usage: $0 { start | stop }" >&2    exit 1    ;;			     esac

⌨️ 快捷键说明

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