Browse Source

Merge "Execute healthchecks as root" into stable/train

changes/40/705440/3
Zuul 1 week ago
parent
commit
c42f0119a9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tripleo_ansible/roles/tripleo-container-manage/templates/systemd-healthcheck.j2

+ 1
- 1
tripleo_ansible/roles/tripleo-container-manage/templates/systemd-healthcheck.j2 View File

@@ -4,7 +4,7 @@ After=tripleo-container-shutdown.service tripleo_{{ container_sysd_name }}.servi
Requisite=tripleo_{{ container_sysd_name }}.service
[Service]
Type=oneshot
ExecStart=/usr/bin/podman exec {{ container_sysd_name }} {{ container_sysd_data.healthcheck.test }}
ExecStart=/usr/bin/podman exec --user root {{ container_sysd_name }} {{ container_sysd_data.healthcheck.test }}
SyslogIdentifier=healthcheck_{{ container_sysd_name }}
[Install]
WantedBy=multi-user.target

Loading…
Cancel
Save