archweb-memcached.service.j2 387 Bytes
Newer Older
1
2
3
#
# {{ ansible_managed }}
#
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=Archweb Memcached Daemon
After=network.target

[Service]
User=archweb
Group=memcached
# Remove '-l 127.0.0.1' to listen on all addresses
ExecStart=/usr/bin/memcached -s /run/memcached/archweb.sock -o modern
Restart=always
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
MemoryDenyWriteExecute=yes

[Install]
WantedBy=multi-user.target