On Fri, Sep 23, 2016 at 3:41 PM, Sebastian <sebix@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 tmpfiles.d snippet. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org