mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
Extend the memcached service for the AUR to allow the memcached group to read the socket to obtain statistics.
22 lines
475 B
Django/Jinja
22 lines
475 B
Django/Jinja
[Unit]
|
|
Description=Aurweb Memcached Daemon
|
|
After=network.target
|
|
|
|
[Service]
|
|
User={{ aurweb_user }}
|
|
Group=memcached
|
|
ExecStart=/usr/bin/memcached -s {{ aurweb_memcached_socket }} -m {{ aurweb_memcached_memory }} -o modern -a 770
|
|
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
|