Keydb.service: Skirtumas tarp puslapio versijų
Jump to navigation
Jump to search
(Naujas puslapis: == Miegruojantiems iš redis == <syntaxhighlight lang="text"> [Unit] Description=Advanced key-value store After=network.target [Service] Type=forking ExecStart=/usr/local/bin/...) |
|||
35 eilutė: | 35 eilutė: | ||
Alias=keydb.service | Alias=keydb.service | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | Plačiau apie [[keydb]]. | ||
[[Category:Systemd]] | [[Category:Systemd]] |
Dabartinė 13:35, 9 sausio 2020 versija
Miegruojantiems iš redis[keisti]
[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
Plačiau apie keydb.