2
0
Fork 0
Dieses Repository wurde am 2022-01-07 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
php-docker/docker-php-entrypoint-custom
Nick Slowinski c32d3c61fb
Alle Prüfungen waren erfolgreich
continuous-integration/drone/push Build is passing
added GPLv3 license
2021-06-19 12:39:17 +02:00

31 Zeilen
1,1 KiB
Bash

#!/bin/sh
#
# php-docker - A way to run PHP-FPM with additional modules inside docker.
# Copyright (C) 2021 php-docker contributers (please see "CONTRIBUTERS"
# file in the root directory of this repository)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# 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 "$@"