| 123456789101112131415161718192021222324252627282930313233343536373839404142 | [Unit]Description=SearXNG redis serviceAfter=syslog.targetAfter=network.targetDocumentation=https://redis.io/documentation[Service]Type=simpleUser=${REDIS_USER}Group=${REDIS_USER}WorkingDirectory=${REDIS_HOME}Restart=alwaysTimeoutStopSec=0Environment=USER=${REDIS_USER} HOME=${REDIS_HOME}ExecStart=${REDIS_HOME_BIN}/redis-server ${REDIS_CONF}ExecPaths=${REDIS_HOME_BIN}LimitNOFILE=65535NoNewPrivileges=truePrivateDevices=yes# ProtectSystem=fullProtectHome=yesReadOnlyDirectories=/ReadWritePaths=-${REDIS_HOME}/runUMask=007PrivateTmp=yesMemoryDenyWriteExecute=trueProtectKernelModules=trueProtectKernelTunables=trueProtectControlGroups=trueRestrictRealtime=trueRestrictNamespaces=true[Install]WantedBy=multi-user.target
 |