Re: [systemd-devel] Fast respawning jobs

2021-06-25 Thread Lennart Poettering
On Fr, 25.06.21 11:17, Szymanski, Kai (kai.szyman...@luerssen.de) wrote: > Hi Lennart, > > > the desciption for StartLimitIntervalSec && Startlimitburst: > > "more than burst times within an interval time span are not permitted to > start any more" > > > But i need: A Job that returns after 4

Re: [systemd-devel] Fast respawning jobs

2021-06-25 Thread Szymanski, Kai
Freitag, 25. Juni 2021 12:48:56 An: Szymanski, Kai Cc: systemd-devel@lists.freedesktop.org Betreff: Re: [systemd-devel] Fast respawning jobs On Fr, 25.06.21 09:32, Szymanski, Kai (kai.szyman...@luerssen.de) wrote: > Hi, Please always mention the systemd version you are operating with. (And distro

Re: [systemd-devel] Fast respawning jobs

2021-06-25 Thread Lennart Poettering
On Fr, 25.06.21 09:32, Szymanski, Kai (kai.szyman...@luerssen.de) wrote: > Hi, Please always mention the systemd version you are operating with. (And distro would be good too). > i have a job that is very fast respawning if there ist nothing todo. The > Servicefile looks like this: > > >

[systemd-devel] Fast respawning jobs

2021-06-25 Thread Szymanski, Kai
Hi, i have a job that is very fast respawning if there ist nothing todo. The Servicefile looks like this: [Unit] Description=job1 StartLimitIntervalSec=100 StartLimitBurst=5 [Service] Type=idle User=myuser Group=mygroup WorkingDirectory=/tmp ExecStart=my_fast_respawning_job.sh Restart=always