streams/.lando/cron-helper.sh

12 lines
160 B
Bash
Raw Normal View History

2022-11-04 20:37:46 +00:00
#!/bin/sh
service cron start
set -e
# first arg is `-f` or `--some-option`
if [ "${1#-}" != "$1" ]; then
set -- apache2-foreground "$@"
fi
exec "$@"