diff --git a/root/entry.sh b/root/entry.sh index a0d1f7d..353e541 100755 --- a/root/entry.sh +++ b/root/entry.sh @@ -8,6 +8,7 @@ function usage { echo "usage: $0 COMMAND ARGS" echo echo "The following commands are available:" + echo "- cron: Run the cron daemon (will not exit)" echo "- mysql: Run the MariaDB client" echo "- restic: Run the Restic client" } @@ -19,6 +20,9 @@ if [ "${1:-x}" = "x" ]; then fi case $1 in + cron) + exec crond -f + ;; mysql) exec mariadb "${@:2}" ;;