update all-in-one systemd, use podman generated ExecStart|Stop#315
update all-in-one systemd, use podman generated ExecStart|Stop#315rootfs merged 1 commit intoopenshift:mainfrom
Conversation
Signed-off-by: Sally O'Malley <somalley@redhat.com>
|
/assign @fzdarsky I confirmed with VM restart that there are no issues with service startup. I also asked in slack w/ container-engines people if the |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rootfs The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Sally O'Malley somalley@redhat.com
Which issue(s) this PR addresses:
follow-up for #276
This PR updates the systemd ExecStart|Stop commands to be in line with
podman generate systemd --new --name ctrID. The--newflag creates and uses a --cid-file & --pid-file to ensure container is removed upon stop so that when service is enabled and starts with machine start, the podman cmd will not fail due tocontainer with name microshift-aio already existsNote: The unit file is generated with
Podman 3.3.1and addsalso adds the
--sdnotify=conmon --cgroups=no-conmonflags to thepodman runcmd.older versions of podman generate this: