mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
24 lines
557 B
Django/Jinja
24 lines
557 B
Django/Jinja
[Unit]
|
|
Description=Archweb Memcached Daemon
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=archweb
|
|
Group=memcached
|
|
# Remove '-l 127.0.0.1' to listen on all addresses
|
|
# The packages /files sitemap is about ~ 3m so raise the default 1m limit.
|
|
ExecStart=/usr/bin/memcached -s /run/memcached/archweb.sock -o modern -I 10m
|
|
Restart=always
|
|
NoNewPrivileges=yes
|
|
PrivateTmp=yes
|
|
ProtectHome=true
|
|
PrivateDevices=yes
|
|
ProtectSystem=full
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectControlGroups=true
|
|
MemoryDenyWriteExecute=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|