[packages/postgrey] fixed pidfile header (used by systemd), do not wrap with daemon() - these date back to initial commi

Arkadiusz Miśkiewicz arekm at maven.pl
Tue Aug 7 14:05:46 CEST 2018


On Tuesday 07 of August 2018, Tomasz Pala wrote:
> On Tue, Aug 07, 2018 at 10:31:25 +0200, Arkadiusz Miśkiewicz wrote:
> >>   do not wrap with daemon()
> > 
> > why?
> 
> It daemonizes itself - what is the purpose of this function?

log things to syslog
say ok/fail
set proper limits based on sysconfig/xyz service file

daemon() in rc-scripts doesn't do any deamonization (unless additional options 
are specified). It's just a wrapper to nicely do all additional jobs.

> 
> > missing ok/fail now?
> 
> Yes, already fixed.


-- 
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )


More information about the pld-devel-en mailing list