>From: David Hrbáč <[email protected]>
>Cc: Rpmforge Users <[email protected]>
>Sent: Mon, 21 June, 2010 13:22:18
>Subject: Re: [users] Request: amavisd pid file location
>
>Dne 21.6.2010 13:22, [email protected] napsal(a):
>> but in the supplied amavisd.conf file it is
>>
>> /var/amavis/var/amavisd.pid
>>
>
>Right,
>An there's inconsistency between conf and init file. Within init file we
>have:
># pidfile: /var/run/amavisd.pid
>
Yup, it's commented out . . . .
The one in amavisd_init.sh in the tar.gz is
# pidfile: /var/amavis/amavisd.pid
so Dag must have changed it, but not in the .conf
>and clean installation creates /amavis/var/amavisd.pid.
> There's a
>problem during the system crash. Pid file remains,
> amavis won't start,
>until /var/amavis/amavis.pid is removed.
I don't see this behavior trying to start amavisd
with the pid file in place.
In my view, pid files should all be below
/var/run/
so you know where to find them, though I don't
see much point to them anymore, unless you
want to run multiple instances and control
them independently because killproc doesn't
use pid files and stops all instances.
CCB
>DH
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users