adding a program as a service
i just put imapd and pop3 on my computer, i put them in the /usr/sbin directory.
now i want to add them as a service, how do i do that? i tried these -
% chkconfig --add imapd
error reading information on service imapd: No such file or directory
% chkconfig --add /usr/sbin/imapd
error reading information on service /usr/sbin/imapd: No such file or directory
i just want to add them as a service so they autmatically start when i restart, just like httpd and sshd do.
i'm sure its simple, i just cant figuere it out.