13 Zeilen
293 B
Text
13 Zeilen
293 B
Text
|
#!/bin/sh
|
||
|
# modified - delete old pid before startup
|
||
|
if [ -f "/web_data/robotter112.de/rank/logs/pid" ]; then rm -f /web_data/robotter112.de/rank/logs/pid; fi
|
||
|
|
||
|
# original base image
|
||
|
set -e
|
||
|
|
||
|
# first arg is `-f` or `--some-option`
|
||
|
if [ "${1#-}" != "$1" ]; then
|
||
|
set -- php-fpm "$@"
|
||
|
fi
|
||
|
|
||
|
exec "$@"
|