Merge pull request #123 from Y0plait/patch-1

Update 10-com-server.sh
This commit is contained in:
Léa 2024-10-30 11:39:23 +01:00 committed by GitHub
commit 653cd01eaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,6 +42,9 @@ if [ -f ${SRV_CONF_FILE} ]; then
done done
fi fi
# Quick fix https://github.com/OCSInventory-NG/OCSInventory-Docker-Stack/issues/16
sed -i 's/^.*PerlSetEnv OCS_OPT_DBI_PRINT_ERROR.*$/PerlSetEnv OCS_OPT_DBI_PRINT_ERROR 0/' ${SRV_CONF_FILE}
# Permissions # Permissions
chown -R $APACHE_RUN_USER: $OCS_LOG_DIR chown -R $APACHE_RUN_USER: $OCS_LOG_DIR