You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
133 B

  1. #!/bin/sh
  2. set -e
  3. # first arg is `-f` or `--some-option`
  4. if [ "${1#-}" != "$1" ]; then
  5. set -- apache2-foreground "$@"
  6. fi
  7. exec "$@"