读书人

Linux登记系统服务

发布时间: 2013-01-07 10:02:24 作者: rapoo

Linux注册系统服务

注册一个系统服务,开机自启动.

1 脚本编写

#vim test.sh

# chmod 700 test.sh

# cp test.sh /etc/init.d/

# chkconfig --add test.sh

# chkconfig --list

3.删除服务

# chkconfig --del test.sh

读书人网 >UNIXLINUX

热点推荐