shell脚本语法

举栗子说明: 编写nginx启动脚本: #!/bin/bash #表示当前脚本由/bin/bash这个程序来执行 # chkconfig: 35 80 30 #系统服务的运行级 # description: Nginx Server NGINXD='/usr/local/nginx/sbin/nginx' #nginx运行文件 LOCKFILE='/var/lock/nginx.lo
相关文章
相关标签/搜索