mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 15:15:13 +00:00
12 lines
160 B
Bash
12 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 "$@"
|