bootscript

Matt Kettler mkettler at EVI-INC.COM
Wed Sep 25 21:12:36 IST 2002


You probably don't ever want to modify the contents of any files in 
/var/run yourself, except perhaps to delete a whole file (ie: if you 
manually kill sendmail and the .pid file is still laying around it's safe 
to delete it, although not necessary).

The files in /var/run should be created when sendmail is started, and 
deleted when sendmail is stopped. They are NOT used to start sendmail in 
the first place, the command line is just in there for reference. The only 
part that is actually used is the PID on the first line, and that's used so 
that when sendmail is stopped/restarted the scripts know what PID to kill.

Perhaps you want to edit a file /etc/rc.d/init.d instead? Those are 
actually used to start services.

You also didn't specify what *nix platform you are running. RedHat Linux? 
Solaris? FreeBSD? all have slightly different boot-script behaviors.


At 07:33 PM 9/25/2002 +0100, Rui Vitória wrote:
>hi
>
>I changed my /var/run/sendmail.pid  for "/usr/lib/sendmail -bd -q5m" and
>restart the mailscanner, but nothing.
>
>what can i do for change this
>
>rgdrs




More information about the MailScanner mailing list