#cd /etc/init.d/
内容如下
#!/bin/bash # chkconfig: - 85 15 # description:开机自启go网站 cd /www/wwwroot/www.ciifgroup.com/ nohup ./ciif & cd /www/wwwroot/wanjiaxing.wang/ nohup ./wanjia &
# chmod +x go.sh
# chkconfig --add go.sh
#chkconfig go.sh on
# chkconfig startMyServer.sh off
# chkconfig --del startMyServer.sh