LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Register a daemon as service (https://www.linuxquestions.org/questions/linux-general-1/register-a-daemon-as-service-555923/)

bittus 05-22-2007 08:38 PM

Register a daemon as service
 
please guide me on registering a daemon as service (in general).

Specifically, I tried installing postfix 2.4.1 on my computer. Now can any1 help on how to make it a service. Now it is like i m starting the service using the command "postfix start" and so cant check the status of the program and all. Please guide me on how to make it a service.

Thanks

Matir 05-22-2007 08:40 PM

What distribution are you running? You probably need to create an init script, though most distribution packages already do that. Are you sure there isn't one already?

bittus 05-22-2007 08:49 PM

Quote:

Originally Posted by Matir
What distribution are you running? You probably need to create an init script, though most distribution packages already do that. Are you sure there isn't one already?

I am running RHEL 4. I uninstalled the default postfix and re-installed it using the tar.zip file 4m postfix.org

Matir 05-22-2007 09:08 PM

Then the init scripts probably go in /etc/rc.d/rc.init or something similar. You'll need to craft a new one by hand.

Out of curiousity, why did you install the postfix.org version instead of the RHEL version?

bittus 05-22-2007 09:15 PM

Quote:

Originally Posted by Matir
Then the init scripts probably go in /etc/rc.d/rc.init or something similar. You'll need to craft a new one by hand.

Out of curiousity, why did you install the postfix.org version instead of the RHEL version?

i just wanted to try the latest version of postfix. Let me ask u onething . . . .

How is it that i can block spam mails using the new postfix

Matir 05-22-2007 09:16 PM

As far as I know, you'll need to install some sort of spam filtering software, like spam assassin.

bittus 05-22-2007 09:37 PM

Quote:

Originally Posted by Matir
As far as I know, you'll need to install some sort of spam filtering software, like spam assassin.


david thanks a lot for ur response

Can u pls help me in developing an init script to make postfix a service


All times are GMT -5. The time now is 05:00 PM.