, but I don't really
understand what's needed, and I can't actually authenticate as the user because
I don't know their password (currently this daemon is root so it doesn't need a
password to switch user).
If there is some kind of shell pipeline, or a wr
On 05/23/2016 06:07 AM, Lennart Poettering wrote:
On Fri, 20.05.16 20:10, Mike Gulick (mike.gul...@mathworks.com) wrote:
Hi systemd-devel,
I'm on Debian Jessie running the default systemd-215. I have a
daemon (running as root, controlled by systemd), whose job it is to
launch on-deman
ld be great if systemd could log an error message
when the PIDFile is not accessible. It took me hours to realize why systemd
was continually stopping my service immediately after starting it.
Thanks for any advice you can offer.
-Mike Gulick
_
On 01/04/2017 04:36 PM, Mantas Mikulėnas wrote:
systemd.unit documents ConditionHost=, which can match either by
hostname or by machine-id for exactly this situation.
There is also the (slightly horrible)
ConditionPathExists=/var/lib/systemd/linger/%u.
Thanks! Can't believe I missed that in