summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2014-02-17 06:24:16 +0000
committerMatthew Thode <prometheanfire@gentoo.org>2014-02-17 06:24:16 +0000
commit03df4b0501279a0dd7fd4c41e9c76e2ef4f6e078 (patch)
treea72ccaa668975be1e60499d3ed7bd06986d0855d /net-misc/memcached/files/memcached.service
parentfixes for bug 420607 (diff)
downloadgentoo-2-03df4b0501279a0dd7fd4c41e9c76e2ef4f6e078.tar.gz
gentoo-2-03df4b0501279a0dd7fd4c41e9c76e2ef4f6e078.tar.bz2
gentoo-2-03df4b0501279a0dd7fd4c41e9c76e2ef4f6e078.zip
installing systemd unit file bug 500248
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
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