Improve turnip-api service resiliency

Bug #1982814 reported by Thomas Cuthbert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
turnip
Fix Released
High
Colin Watson

Bug Description

Currently turnip-api will not recover after a crash, requiring manual intervention to restart the service. Systemd[^1] provides some useful options for attempting a service restart and hard failing if the process remains unstable for a duration.

Are we able to update the turnip-api service definitions to include a systemd restart policy?

[^1]: https://www.freedesktop.org/software/systemd/man/systemd.service.html#Restart=

Related branches

Colin Watson (cjwatson)
Changed in turnip:
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → High
status: New → In Progress
Colin Watson (cjwatson)
Changed in turnip:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.