While trying to add the courier imap service to red hat services start-up list, I got this error:
Code:
# ln -s /usr/local/libexec/imapd.rc /etc/init.d
# chkconfig --add imapd.rc
service imapd.rc does not support chkconfig
For the
chkconfig binary to be able to add a service based on it's startup script, it needs to have a special format.
I added in the beginning of the rc script the following
#! /bin/sh
# chkconfig: 2345 ...