Skip to content

Commit 954b7bf

Browse files
committed
feat: added allow super user
1 parent 96cac90 commit 954b7bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

glpi-start.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,12 @@ chmod -R u+rwx /var/www/html/glpi/
129129
--db-port=${MARIADB_DB_PORT} \
130130
--db-name=${MARIADB_DB_NAME} \
131131
--db-user=${MARIADB_DB_USER} \
132-
--db-password=${MARIADB_DB_PASSWORD} \
133-
--allow-superuser
132+
--db-password=${MARIADB_DB_PASSWORD} \
133+
--allow-superuser
134134

135135
# Enable time zones
136-
/usr/bin/php /var/www/html/glpi/bin/console migration:timestamps
137-
/usr/bin/php /var/www/html/glpi/bin/console database:enable_timezones
136+
/usr/bin/php /var/www/html/glpi/bin/console migration:timestamps --allow-superuser
137+
/usr/bin/php /var/www/html/glpi/bin/console database:enable_timezones --allow-superuser
138138
#Add scheduled task by cron and enable
139139
echo "*/2 * * * * www-data /usr/bin/php /var/www/html/glpi/front/cron.php &>/dev/null" >/etc/cron.d/glpi
140140
#Start cron service

0 commit comments

Comments
 (0)