标题: rc.local不能执行 [打印本页] 作者: 自由的风 时间: 2016-1-20 16:23 标题: rc.local不能执行 在重启服务器后命令没有执行
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
/usr/local/nginx/sbin/nginx
/opt/chaoxingdata/rsy_vi/begin.sh