From 90841ada03c4e986ab2e2675e12a37a8c74c2158 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 12 Aug 2024 21:20:00 -0400 Subject: [PATCH] update for prod run --- scripts/entrypoint.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index 5c21d8e..68ff4f9 100644 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -40,7 +40,12 @@ if [[ $environment == 'DEV' ]]; then fi /usr/bin/memcached -d -u $user fi + +if [[ $environment == 'PROD' ]]; then + sed -r -i 's/;session.save_path="localhost:11211/session.save_path="memcache:11211/' /etc/php.d/50-memcached.ini +fi + tail -f /etc/httpd/logs/* exit 0 - \ No newline at end of file +