Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-14-2004, 05:42 AM   #1
LQ Newbie
Registered: Feb 2003
Posts: 15

Rep: Reputation: 0
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.
Old 01-14-2004, 06:05 AM   #2
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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
Old 01-14-2004, 06:29 AM   #3
LQ Newbie
Registered: Feb 2003
Posts: 15

Original Poster
Rep: Reputation: 0
i posted under the mandrake forums, that probly was a better place to post.

mods.. feel free to delete this thread.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a Service in inetd Icky_Joe Linux - Newbie 4 04-26-2005 10:05 AM
Adding new service to a runlevel. atlesn Linux - Software 5 06-06-2004 05:56 PM
Adding new xinetd service Aldric Linux - Networking 1 06-03-2004 12:40 PM
adding a service neverender Mandriva 4 01-14-2004 07:25 AM
Adding Service RedHat 9 green123 Linux - Newbie 4 08-26-2003 02:27 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration