fix: use pidof (pgrep absent in savonet image) for liquidsoap healthcheck

This commit is contained in:
devilreef 2026-04-30 00:23:32 +06:00
parent 55c7de8785
commit cbd8bdfd3b
Signed by: devilreef
SSH key fingerprint: SHA256:UZisRr4iuXx+IhkbZnR655L2RWAT6o2rgbGv5F/6m3Y

View file

@ -40,7 +40,7 @@ services:
target: /now-playing
command: ['liquidsoap', '/script.liq']
healthcheck:
test: ['CMD-SHELL', 'pgrep liquidsoap || exit 1']
test: ['CMD-SHELL', 'pidof liquidsoap >/dev/null || exit 1']
interval: 30s
timeout: 5s
retries: 3