streams/.lando/cron-helper.sh
2022-11-05 07:37:46 +11:00

11 lines
160 B
Bash

#!/bin/sh
service cron start
set -e
# first arg is `-f` or `--some-option`
if [ "${1#-}" != "$1" ]; then
set -- apache2-foreground "$@"
fi
exec "$@"