MatthiasScholz / cos

Basic Cluster Orchestration Setup
GNU Lesser General Public License v3.0
34 stars 11 forks source link

Upgrade: Restart Policy for systemd services #62

Closed MatthiasScholz closed 3 years ago

MatthiasScholz commented 5 years ago

Summary

To support rolling upgrades of the cluster orchestration system the restart policy for the nomad and consul services needs to be enhanced.

Expectation

In case of a normal shutdown of the application the service should not restart automatically. In case of an abnormal shutdown the application the service should be restarted automatically by systemd.

Hint

MatthiasScholz commented 5 years ago

File to change https://github.com/MatthiasScholz/cos/blob/master/modules/ami2/install-nomad/nomad.service

MatthiasScholz commented 3 years ago

Solved with PR #87.