summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/memcached/files/memcached.service')
-rw-r--r--net-misc/memcached/files/memcached.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-misc/memcached/files/memcached.service b/net-misc/memcached/files/memcached.service
index f51fd1f35730..402d85046e0f 100644
--- a/net-misc/memcached/files/memcached.service
+++ b/net-misc/memcached/files/memcached.service
@@ -5,8 +5,8 @@ Documentation=man:memcached(1)
Documentation=http://code.google.com/p/memcached/
[Service]
-ExecStart=/usr/bin/memcached
-User=memcached
+EnvironmentFile=/etc/conf.d/memcached
+ExecStart=/usr/bin/memcached -p ${PORT} -u ${USER} -m ${CACHESIZE} -c ${MAXCONN} $OPTIONS
[Install]
WantedBy=multi-user.target