Skip to content

Commit

Permalink
Update 10-com-server.sh
Browse files Browse the repository at this point in the history
Add quick and dirty fix for OCSInventory-NG/OCSInventory-Docker-Stack#16
Add a sed replacement
  • Loading branch information
Y0plait authored Oct 24, 2024
1 parent a4d2b62 commit 8638ad8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 2.12.3/docker-entrypoint.d/10-com-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8638ad8

Please sign in to comment.