mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-26 18:03:43 +01:00
Add stop_signal service attribute
This commit is contained in:
parent
9317f987fc
commit
62d2024fee
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user