mirror of
https://github.com/skoelle/icloud-contacts-sync.git
synced 2026-09-17 15:30:24 +00:00
entrypoint guard
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
#!/bin/sh
|
||||
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}"
|
||||
|
||||
echo "Starte icloud-contacts-sync Container"
|
||||
|
||||
Reference in New Issue
Block a user