linux下配置服务自动启动

1、切换到/etc/rc.d/init.d目录下

2、新建脚本,step.sh

3、添加开机启动   chkconfig –add step.sh

4、chkconfig step.sh

posted @ 2019-06-26 15:58  xshang  阅读(1020)  评论(0编辑  收藏  举报