Linux登记系统服务

Linux注册系统服务注册一个系统服务,开机自启动.1 脚本编写#vim test.sh# chmod 700 test.sh# cp test.sh

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