summaryrefslogtreecommitdiffstats
path: root/memcached.service
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-26 09:05:24 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-26 09:05:24 +0100
commit73e464227e99d6abacdd2e909dee72f56b58ea12 (patch)
tree4030c271334927609fcb1fddf211e9a51be4fd4b /memcached.service
parent879d9305cddf8a129df8903265edd1347dbded69 (diff)
memcached: sync with rawhide + backport stuff
Diffstat (limited to 'memcached.service')
-rw-r--r--memcached.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/memcached.service b/memcached.service
new file mode 100644
index 0000000..ee5198d
--- /dev/null
+++ b/memcached.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Memcached
+Before=httpd.service
+After=network.target
+
+[Service]
+Type=simple
+EnvironmentFile=-/etc/sysconfig/memcached
+ExecStart=/usr/bin/memcached -u $USER -p $PORT -m $CACHESIZE -c $MAXCONN $OPTIONS
+
+[Install]
+WantedBy=multi-user.target