xref: /OK3568_Linux_fs/buildroot/package/redis/redis.service (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1[Unit]
2Description=Redis data structure server
3Documentation=https://redis.io/documentation
4After=network.target
5
6[Service]
7Type=notify
8User=redis
9Group=redis
10ExecStart=/usr/bin/redis-server --supervised systemd --daemonize no
11TimeoutStartSec=5
12TimeoutStopSec=5
13CapabilityBoundingSet=
14PrivateTmp=true
15PrivateDevices=true
16ProtectSystem=full
17ProtectHome=true
18NoNewPrivileges=true
19RuntimeDirectory=redis
20RuntimeDirectoryMode=755
21LimitNOFILE=10032
22
23[Install]
24WantedBy=multi-user.target
25