update for prod run
This commit is contained in:
parent
b2b3d284a6
commit
90841ada03
@ -40,6 +40,11 @@ if [[ $environment == 'DEV' ]]; then
|
|||||||
fi
|
fi
|
||||||
/usr/bin/memcached -d -u $user
|
/usr/bin/memcached -d -u $user
|
||||||
fi
|
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/*
|
tail -f /etc/httpd/logs/*
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user