![Martin Bark](/assets/img/avatar_default.png)
redis.service originates from the redis package in Arch Linux, at https://projects.archlinux.org/svntogit/community.git/tree/trunk/redis.service?h=packages/redis&id=b4907d2344855caeadf6c69bc01c403a95f8a4f3. Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
416 B
Desktop File
23 lines
416 B
Desktop File
[Unit]
|
|
Description=Advanced key-value store
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=redis
|
|
Group=redis
|
|
ExecStart=/usr/bin/redis-server /etc/redis.conf
|
|
ExecStop=/usr/bin/redis-cli shutdown
|
|
CapabilityBoundingSet=
|
|
PrivateTmp=true
|
|
PrivateDevices=true
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
NoNewPrivileges=true
|
|
RuntimeDirectory=redis
|
|
RuntimeDirectoryMode=755
|
|
LimitNOFILE=10032
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|