Grzegorz Sójka wrote:
> Witam serdecznie.
> 
> Jest tak:
> 
> [root@Hercules ~]# ps ax | grep postg
>   1201 ?        SNs    0:00 /usr/sbin/postgrey -d 
> --unix=/var/spool/postfix/postgrey/socket
> 30806 pts/3    S+     0:00 grep postg
> [root@Hercules ~]# /etc/rc.d/init.d/postgrey restart
> Stopping postgrey 
> service......................................................................[
>  
> DIED ]
> Starting postgrey 
> service......................................................................[
>  
> DONE ]
> 
> I co ciekawe postgrey działa normalnie. WTF??

https://github.com/schweikert/postgrey/commit/569dd044840a075127ddcf9d92c7791677d118e2

Do kompletu zdefiniuj pidfile w pliku /etc/rc.d/init.d/postgrey tak:
daemon /usr/sbin/postgrey -d --pidfile /var/run/postgrey.pid $OPTIONS

Program nie zostaje znaleziony, bo 1. nie ma pidfile'a, 2. exe jako taki
to perl (ls -l /proc/<pid>/exe). W dodatku programy perlowe nie
ustawiają ładnego comm (cat /proc/<pid>/comm), co tutaj nie pomogłoby
akurat, ale czasem dodatkowo przeszkadza.

Zbyniu
-- 
%% Absolutely nothing we trust %%
_______________________________________________
pld-users-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-users-pl

Odpowiedź listem elektroniczym