Add stop_signal service attribute

This commit is contained in:
Robert Hensing 2021-05-18 19:47:25 +02:00 committed by Muayyad Alsadi
parent 9317f987fc
commit 62d2024fee

View File

@ -571,6 +571,8 @@ def container_to_args(compose, cnt, detached=True):
podman_args.extend(['--shm-size', '{}'.format(cnt['shm_size'])])
if cnt.get('stdin_open', None):
podman_args.append('-i')
if cnt.get('stop_signal', None):
podman_args.extend(['--stop-signal', cnt['stop_signal']])
for i in cnt.get('sysctls', []):
podman_args.extend(['--sysctl', i])
if cnt.get('tty', None):