atomic-server icon indicating copy to clipboard operation
atomic-server copied to clipboard

starting when already started aggressively tries 30 times

Open jonassmedegaard opened this issue 2 years ago • 2 comments

If I start the service while it is already running, then it warns and then tries 30 times before failing.

I would expect to immediately fail.

I recommend to only aggressively try optionally, e.g. with new option --persist (taking optional integer value, default 30).

jonassmedegaard avatar Mar 17 '22 11:03 jonassmedegaard

I think this is a duplicate of #324, right?

joepio avatar Mar 18 '22 10:03 joepio

No: Issues are related but different.

One solution fixes them both (never restarting from within application - completely leaving that to systemd or similar external tooling), but other solutions might address only one but not the other (e.g. solving #324 by making auto-start optional).

jonassmedegaard avatar Mar 18 '22 11:03 jonassmedegaard

Restarting is no longer default - only behind a flag, because #324 was implemented. I think this one is fixed now.

joepio avatar Feb 21 '23 17:02 joepio