mirror of
https://github.com/skoelle/icloud-contacts-sync.git
synced 2026-09-18 07:50:25 +00:00
entrypoint guard
This commit is contained in:
@@ -1,6 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# Wurde ein alternativer Befehl uebergeben (z.B. uvicorn), fuehre diesen
|
||||||
|
# direkt aus und ueberspringe den Sync-/Cron-Modus.
|
||||||
|
if [ $# -gt 0 ]; then
|
||||||
|
exec "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
MAIL_HOUR="${MAIL_SEND_HOUR:-7}"
|
MAIL_HOUR="${MAIL_SEND_HOUR:-7}"
|
||||||
|
|
||||||
echo "Starte icloud-contacts-sync Container"
|
echo "Starte icloud-contacts-sync Container"
|
||||||
|
|||||||
Reference in New Issue
Block a user