docker-glpi/src/rootfs/start.sh
paspo cbc162e79c
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/tag Build encountered an error
upgrade alpine+glpi
2023-12-13 11:39:04 +01: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