Re: [exim] exim in init.d

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Michael Sprague
Datum:  
To: exim-users
Betreff: Re: [exim] exim in init.d
Jeff Lasman wrote:
> On Monday 11 December 2006 08:46 am, Marc Perkel wrote:
>
>> Well - yes it is Redhat - but - there is no pid file.
>
> Marc, you don't say what version of RH.
>
> On an old 7.3 box the pidfile is at /var/run/exim.pid.
>
> On a new CentOS 4.4 box it's at the same location.


I would suggest getting the pid path from the conf so you don't have to
hard code it into the script. Maybe something like this:

exim -bP pid_file_path | awk '{print $3}'

thanks,
mikeS

-- 
Michael F. Sprague     | mfs@???
http://www.saneinc.net | Provider of SpamOnion anti-spam service
System and Network Engineering (SaNE), Inc