Seems that at some point, whenever systemd evolved - it now able to follow up by himself over pid files.
And old start line of service that looks like
ExecStart=/usr/bin/amonagent -pidfile /var/run/amonagent/amonagent.pid
making amon to respawn multiple times in endless loop - and then to fail, when systemd decides that service is dead.
Changing service file to have this lines
ExecStart=/usr/bin/amonagentPIDFile=/var/run/amonagent/amonagent.pid
brings up normal monitoring for systemd and single spawn of trackable service.
This seems to be happen only with newer version of amon >0.7.5 and Fedora 23 and up
Seems that at some point, whenever systemd evolved - it now able to follow up by himself over pid files. And old start line of service that looks like
ExecStart=/usr/bin/amonagent -pidfile /var/run/amonagent/amonagent.pid
making amon to respawn multiple times in endless loop - and then to fail, when systemd decides that service is dead.Changing service file to have this lines
ExecStart=/usr/bin/amonagent
PIDFile=/var/run/amonagent/amonagent.pid
brings up normal monitoring for systemd and single spawn of trackable service.This seems to be happen only with newer version of amon >0.7.5 and Fedora 23 and up