[Gross] Pidfile and daemonization

Eino Tuominen eino at utu.fi
Tue Apr 15 20:30:55 EEST 2008


Nuutti Kotivuori wrote:
>
> So, I'd like to request either pidfile creation - or the ability to
> not-daemonize and still log to syslog.

As I've never been a fan of pidfiles I want to know exactly what do you 
expect grossd to do with pidfiles:

1. should grossd check if the pidfile already exists?
2. should grossd remove the pidfile before exiting?

FWIW, I always use pgrep et al, it's more reliable than pidfiles, which 
could end up being stale.

-- 
   Eino Tuominen



More information about the Gross mailing list