redis.service 482 B

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