Fix memcached-custom service file

This fixes a bootstrap error in which memcached service
fails to load environment files

Test Plan:
PASS - Unlock

Story: 2009965
Task: 45171

Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
Change-Id: Ie3ee6d04515c0fe02f20f50aaa0fd6703d8b9485
This commit is contained in:
Leonardo Fagundes Luz Serrano 2022-04-25 13:27:36 +00:00
parent 4b65918992
commit 9d3893b57c
1 changed files with 1 additions and 2 deletions

View File

@ -8,8 +8,7 @@ Before=httpd.service
After=network-online.target
[Service]
EnvironmentFile=/etc/sysconfig/memcached
ExecStart=/usr/bin/memcached -p ${PORT} -u ${USER} -m ${CACHESIZE} -c ${MAXCONN} $OPTIONS
ExecStart=/usr/share/memcached/scripts/systemd-memcached-wrapper /etc/memcached.conf
# Set up a new file system namespace and mounts private /tmp and /var/tmp directories
# so this service cannot access the global directories and other processes cannot