docker-glpi/rootfs/start.sh
paspo 34185d9919
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
initial commit
2023-04-19 16:41:15 +02:00

14 lines
301 B
Bash

#!/bin/sh
chown -R nginx:www-data /logs /config /files /marketplace
chmod -R a-x,a=rX,ug+w /logs /config /files /marketplace
if [ "$INSTALL_OK" = "1" ] ; then
if [ -f /var/www/glpi/install/install.php ] ; then
rm /var/www/glpi/install/install.php
fi
fi
/usr/sbin/php-fpm*
/usr/sbin/nginx