[Unit] Description=Advanced key-value store (version 6) After=network.target [Service] Type=simple User=redis Group=redis ExecStart=/usr/bin/redis6-server /etc/redis6.conf ExecStop=/usr/bin/redis6-cli shutdown CapabilityBoundingSet= PrivateTmp=true PrivateDevices=true ProtectSystem=full ProtectHome=true NoNewPrivileges=true RuntimeDirectory=redis6 RuntimeDirectoryMode=755 LimitNOFILE=10032 [Install] WantedBy=multi-user.target