docker-glpi/rootfs/start.sh

14 lines
301 B
Bash
Raw Normal View History

2023-04-19 13:19:40 +00:00
#!/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