Linux: Fix Configuration of init.d Service that does not support chkconfig
RPM Based Linux Flavors like CentOS need additional information in the Init script in order to work properly with chkconfig :
# description: Description of the script # processname: squid
chkconfig --level 2345 scriptname
#!/bin/sh # this script starts and stops Squid start /usr/local/squid/sbin/squid -s echo -n Squid stop /usr/local/squid/sbin/squid -k shutdown
#chkconfig: 2345 95 20 # description: Description of the script # processname: squid
0 comments