diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-01-14 15:34:02 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-01-16 20:29:28 +0100 |
commit | 1951ff168a63157fa2f4711fde283edfc4981ed3 (patch) | |
tree | 3a731a232c5f38a00ee2cabea88fb4fd0df6121a /pkg/namespaces | |
parent | 70236f56f9e8f2044e94800de7be3925f52d6c83 (diff) | |
download | podman-1951ff168a63157fa2f4711fde283edfc4981ed3.tar.gz podman-1951ff168a63157fa2f4711fde283edfc4981ed3.tar.bz2 podman-1951ff168a63157fa2f4711fde283edfc4981ed3.zip |
oci_conmon: do not create a cgroup under systemd
Detect whether we are running under systemd (if the INVOCATION_ID is
set). If Podman is running under a systemd service, we do not need to
create a cgroup for conmon.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg/namespaces')
0 files changed, 0 insertions, 0 deletions