Show program versions at start

This commit is contained in:
Quentin McGaw (desktop) 2021-08-02 11:28:03 -04:00
parent a825246927
commit 544a4486a4

View File

@ -2,6 +2,11 @@
set -e set -e
# Show versions
echo "supervisord version: $(supervisord version)"
php-fpm7.3 -v | head -n 1
nginx -v
if [ "${DB_CONNECTION}" = "sqlite" ]; then if [ "${DB_CONNECTION}" = "sqlite" ]; then
if [ ! -f /2fauth/database.sqlite ]; then if [ ! -f /2fauth/database.sqlite ]; then
touch /2fauth/database.sqlite touch /2fauth/database.sqlite