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

📄 raserver

📁 Perl写的CA认证程序
💻
字号:
#!/bin/sh## Startup script for the Apache Web Server## chkconfig: 345 85 15# description: Apache is a World Wide Web server.  It is used to serve \#	       HTML files and CGI.# processname: httpd.raserver# pidfile: /var/run/raserver.pid# config: /usr/local/apache/conf/raserver.confsdir="/usr/local/apache";# Source function library.. /etc/rc.d/init.d/functionsapache="$sdir/bin/httpd";conf="$sdir/conf/raserver.conf";# Take a look in your apache config and set it as it is set there.pidfile="/var/run/raserver.pid";# See how we were called.case "$1" in  start)	echo -n "Starting RA Server httpd: "	$apache -f $conf -D SSL	echo "Done."	touch /var/lock/subsys/httpd.raserver	;;  stop)	echo -n "Shutting down RA Server http: "	pid=`cat $pidfile`;	kill $pid	echo "Done."	rm -f /var/lock/subsys/httpd.raserver	;;  status)	echo -n "RAServer Current Status: "	if ! [ -e $pidfile ] ; then		echo "Stopped."		exit 0	fi	pid=`cat $pidfile`;	stat=`ps auxw | grep "$pid"`;	if [ $stat -gt 1 ] ; then		echo "Running."	else		echo "Stopped."	fi	;;  restart)	$0 stop	sleep 2	$0 start	;;  *)	echo "Usage: $0 {start|stop|status}"	exit 1esacexit 0

⌨️ 快捷键说明

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