fix: use pidof (pgrep absent in savonet image) for liquidsoap healthcheck
This commit is contained in:
parent
55c7de8785
commit
cbd8bdfd3b
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ services:
|
||||||
target: /now-playing
|
target: /now-playing
|
||||||
command: ['liquidsoap', '/script.liq']
|
command: ['liquidsoap', '/script.liq']
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ['CMD-SHELL', 'pgrep liquidsoap || exit 1']
|
test: ['CMD-SHELL', 'pidof liquidsoap >/dev/null || exit 1']
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue