summarylogtreecommitdiffstats
path: root/memcached.service
diff options
context:
space:
mode:
authoranthraxx2017-08-23 22:04:41 +0200
committeranthraxx2017-08-23 22:04:41 +0200
commit74b33ff8562731d63645cde830f80c2b621cd346 (patch)
tree07bf666c1820767304f2d8571778821cc32b5320 /memcached.service
downloadaur-memcached-git.tar.gz
addpkg: memcached-git 1.5.0.4.gb5ab581-1
Diffstat (limited to 'memcached.service')
-rw-r--r--memcached.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/memcached.service b/memcached.service
new file mode 100644
index 000000000000..925cb37a4148
--- /dev/null
+++ b/memcached.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Memcached Daemon
+After=network.target
+
+[Service]
+User=memcached
+# Remove '-l 127.0.0.1' to listen on all addresses
+ExecStart=/usr/bin/memcached -l 127.0.0.1 -o modern
+Restart=always
+PrivateTmp=yes
+PrivateDevices=yes
+ProtectSystem=full
+MemoryDenyWriteExecute=yes
+
+[Install]
+WantedBy=multi-user.target