Update 10-com-server.sh
Add quick and dirty fix for https://github.com/OCSInventory-NG/OCSInventory-Docker-Stack/issues/16 Add a sed replacement
This commit is contained in:
parent
a4d2b62bd1
commit
8638ad8a1f
@ -42,6 +42,9 @@ if [ -f ${SRV_CONF_FILE} ]; then
|
||||
done
|
||||
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
|
||||
chown -R $APACHE_RUN_USER: $OCS_LOG_DIR
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user