4
chkconfig支持linux服务需要什么?
我正在尝试通过以下方式在引导时将linux服务添加到自动启动中 chkconfig -add <servicename> 我收到一条消息说 service <servicename> does not support chkconfig 我正在使用Red Hat Enterprise4。我试图在引导时添加到自动启动的脚本如下: #!/bin/sh soffice_start() { if [ -x /opt/openoffice.org2.4/program/soffice ]; then echo "Starting Open Office as a Service" #echo " soffice -headless -accept=socket,port=8100;urp;StarOffice.ServiceManager -nofirststartwizard" /opt/openoffice.org2.4/program/soffice -headless -accept="socket,host=0.0.0.0,port=8100;urp;StarOffice.ServiceManager" -nofirststartwizard & else echo "Error: Could not find the soffice program. …