LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-14-2004, 04:42 AM   #1
neverender
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, 05:05 AM   #2
Crashed_Again
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, 05:29 AM   #3
neverender
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.
 
  


Reply


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 09:05 AM
Adding new service to a runlevel. atlesn Linux - Software 5 06-06-2004 04:56 PM
Adding new xinetd service Aldric Linux - Networking 1 06-03-2004 11:40 AM
adding a service neverender Mandriva 4 01-14-2004 06:25 AM
Adding Service RedHat 9 green123 Linux - Newbie 4 08-26-2003 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:32 PM.

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