Keydb.service

Iš Žinynas.
13:34, 9 sausio 2020 versija, sukurta \dev\null (Aptarimas | indėlis) (Naujas puslapis: == Miegruojantiems iš redis == <syntaxhighlight lang="text"> [Unit] Description=Advanced key-value store After=network.target [Service] Type=forking ExecStart=/usr/local/bin/...)
(skirt) ← Ankstesnė versija | Dabartinė versija (skirt) | Vėlesnė versija → (skirt)
Jump to navigation Jump to search


Miegruojantiems iš redis

[Unit]
Description=Advanced key-value store
After=network.target

[Service]
Type=forking
ExecStart=/usr/local/bin/keydb-server /etc/keydb.conf
PIDFile=/var/run/redis/keydb-server.pid
TimeoutStopSec=0
Restart=always
User=redis
Group=redis
RuntimeDirectory=redis
RuntimeDirectoryMode=2755
ExecStop=/bin/kill -s TERM $MAINPID

UMask=007
PrivateTmp=yes
LimitNOFILE=65535
PrivateDevices=yes
ProtectHome=yes
ReadOnlyDirectories=/
ReadWriteDirectories=-/var/lib/redis
ReadWriteDirectories=-/var/log/redis
ReadWriteDirectories=-/var/run/redis
NoNewPrivileges=true
CapabilityBoundingSet=CAP_SETGID CAP_SETUID

[Install]
WantedBy=multi-user.target
Alias=keydb.service