首页 > 代码库 > bugfree-工具

bugfree-工具

1, 参考:http://www.cnblogs.com/emilyzhang68/archive/2012/04/22/2465654.html

2,开机启动

-bash-4.1# find . -name "lampp"
./etc/rc.d/init.d/lampp
./opt/lampp
./opt/lampp/share/lampp
./opt/lampp/lampp

3,脚本: ./etc/rc.d/init.d/lampp
#!/bin/bash
# description: Tomcat Start Stop Restart
# processname: tomcat
# chkconfig: 234 20 80

case $1 in
start)
sh /opt/lampp/xampp start
;;
stop)
sh /opt/lampp/xampp stop
;;
esac
exit 0

bugfree-工具