haproxytech / vmware-haproxy

Apache License 2.0
51 stars 24 forks source link

anyip-routes and route-tables services should be resilient to failures #6

Open brakthehack opened 3 years ago

brakthehack commented 3 years ago

If anyip-routes and route-tables crash for any reason, they currently stay dead because we do not have the unit files currently configured with any restart policy. We should configure these services with simple restart policies to ensure they can recover from any failures if a valid configuration becomes available at a later date.

Here's one such example:

[Unit]
StartLimitInterval=300
StartLimitBurst=3
[Service]
Restart=always
RestartSec=30

The files that need to be changed are: anyip-routes.service route-tables.service