summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRemi Collet <remi@famillecollet.com>2016-07-18 15:34:46 +0200
committerdormando <dormando@rydia.net>2016-08-11 14:36:21 -0700
commit804b38f701e767d09df45bd8f8d93640c73bdb73 (patch)
tree7c055d054f53e1c281ac7918a8ededf5f0d98c7a /scripts
parentc6f7593f83435193a98cff23a6c469b4588cb282 (diff)
downloadmemcached-804b38f701e767d09df45bd8f8d93640c73bdb73.tar.gz
Modernize unit file
Diffstat (limited to 'scripts')
-rw-r--r--scripts/memcached.service14
1 files changed, 8 insertions, 6 deletions
diff --git a/scripts/memcached.service b/scripts/memcached.service
index ca75200..0076d84 100644
--- a/scripts/memcached.service
+++ b/scripts/memcached.service
@@ -1,11 +1,13 @@
# It's not recommended to modify this file in-place, because it will be
# overwritten during upgrades. If you want to customize, the best
-# way is to create a file "/etc/systemd/system/httpd.service",
-# containing
-# .include /lib/systemd/system/memcached.service
-# ...make your changes here...
-# See https://www.freedesktop.org/software/systemd/man/systemd.service.html
-# for detailed information about available options.
+# way is to use the "systemctl edit" command to create an override unit.
+
+# For example, to pass additional options, create an override unit
+# (as is done by systemctl edit) and enter the following:
+
+# [Service]
+# Environment=OPTIONS="-l 127.0.0.1,::1"
+
[Unit]
Description=memcached daemon