On Fri, Sep 23, 2016 at 3:41 PM, Sebastian <sebix(a)sebix.at> wrote:
Are there other possibilites or best practices? Does
systemd has a
solution here? Note that units need the pidfiles, not services. I know
that systemd can handle the pidfile of the latter. But then I'd again
need root to create it.
Your options are:
- Do not use pidfiles, This is the suggested way forward..
- if you do want to continue using them ensure that they are created
as explained in daemon(7). pay attention to the "race free" part.
- Store them only in a directory under /run .. i.e
/run/yourmainprogram/component.pid. to create the directory, use a
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org