[systemd-devel] How to control socket activation when it run respawn infinitely.

Lennart Poettering lennart at poettering.net
Fri Feb 14 03:52:36 PST 2014


On Thu, 19.12.13 03:02, Tony Seo (tonyseo7 at gmail.com) wrote:

> I already knew that a process executed by socket activation would be
> respawn.
> But, what the important thing is that I don't know how to control the
> number of respawn.

When a service fails too rapidly systemd will stop restarting it after a
while. You can influence the parameters for that logic with
StartLimitInterval=, StartLimitBurst= in the .service file. See
systemd.service(5) for details.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list