Key systemd services don't auto-restart on bastion
bpradipt opened this issue · 4 comments
bpradipt commented
Haproxy , named, squid service in bastion is not configured with Restart=always or Restart=on-failure. Consequently any crash of the service will not restart it automatically.
yussufsh commented
May be a contribution to the helpernode playbook?
yussufsh commented
Squid is in house so this issue is still valid for such services.
bpradipt commented
Either contribution to helpernode, or we can add a role in our playbook to create systemd dropin to add the configuration. Something like this
cat <<EOF | sudo tee /etc/systemd/system/{haproxy, squid, named}.service.d/restart.conf
[Service]
Restart=always
EOF