mirror of
https://github.com/casjaysdevdocker/nextcloud
synced 2025-01-18 12:34:32 -05:00
11 lines
304 B
Bash
Executable File
11 lines
304 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
if [ "$SIDECAR_NEWSUPDATER" = "1" ]; then
|
|
pgrep -f "/usr/bin/nextcloud-news-updater -c /etc/news_updater.ini"
|
|
elif [ "$SIDECAR_CRON" = "1" ] || [ "$SIDECAR_PREVIEWGEN" = "1" ]; then
|
|
pgrep -f "busybox crond -f -L /dev/stdout"
|
|
else
|
|
curl --fail http://127.0.0.1:80/ping || exit 1
|
|
fi
|