magnum/dockerfiles/kubernetes-controller-manager/service.template
Theodoros Tsioutsias 810e81195e Fix kubernetes systemd service templates
There are cases where systemd fails to restart kubernetes services.
This change fixes that by inceasing the restart interval in the
service templates.

Change-Id: I305644a78cee80db43b561e71a532feb414d8322
story: 2006265
task: 35956
2019-07-23 14:44:29 +00:00

15 lines
217 B
Plaintext

[Unit]
Description=kubernetes-controller-manager
[Service]
ExecStart=$EXEC_START
ExecStop=$EXEC_STOP
WorkingDirectory=$DESTDIR
Restart=always
StartLimitInterval=0
RestartSec=10
[Install]
WantedBy=multi-user.target