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. |
What are you using RedHat? You need a startup script in /etc/init.d/ for imapd and pop3. Then it should be:
chkconfig imapd on |
i posted under the mandrake forums, that probly was a better place to post.
mods.. feel free to delete this thread. |
All times are GMT -5. The time now is 12:33 AM. |