PHP 8.5.2
Preview: redis.service Size: 1.79 KB
//etc/systemd/system/redis.service

[Unit]
Description=Advanced key-value store
After=network.target
Documentation=http://redis.io/documentation, man:redis-server(1)

[Service]
Type=notify
ExecStart=/usr/bin/redis-server /etc/redis/redis.conf --supervised systemd --daemonize no
PIDFile=/run/redis/redis-server.pid
TimeoutStopSec=0
Restart=always
User=redis
Group=redis
RuntimeDirectory=redis
RuntimeDirectoryMode=2755

UMask=007
PrivateTmp=true
LimitNOFILE=65535
PrivateDevices=true
ProtectHome=true
ProtectSystem=strict
ReadWritePaths=-/var/lib/redis
ReadWritePaths=-/var/log/redis
ReadWritePaths=-/var/run/redis

CapabilityBoundingSet=
LockPersonality=true
MemoryDenyWriteExecute=true
NoNewPrivileges=true
PrivateUsers=true
ProtectClock=true
ProtectControlGroups=true
ProtectHostname=true
ProtectKernelLogs=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectProc=invisible
RemoveIPC=true
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
RestrictNamespaces=true
RestrictRealtime=true
RestrictSUIDSGID=true
SystemCallArchitectures=native
SystemCallFilter=@system-service
SystemCallFilter=~ @privileged @resources

# redis-server can write to its own config file when in cluster mode so we
# permit writing there by default. If you are not using this feature, it is
# recommended that you remove this line.
ReadWriteDirectories=-/etc/redis

# This restricts this service from executing binaries other than redis-server
# itself. This is really effective at e.g. making it impossible to an
# attacker to spawn a shell on the system, but might be more restrictive
# than desired. If you need to, you can permit the execution of extra
# binaries by adding an extra ExecPaths= directive with the command
# systemctl edit redis-server.service
NoExecPaths=/
ExecPaths=/usr/bin/redis-server /usr/lib /lib

[Install]
WantedBy=multi-user.target
Alias=redis.service

Directory Contents

Dirs: 24 × Files: 8

Name Size Perms Modified Actions
- drwxr-xr-x 2026-01-08 12:56:17
Edit Download
- drwxr-xr-x 2026-01-08 12:56:15
Edit Download
- drwxr-xr-x 2026-01-08 12:56:18
Edit Download
- drwxr-xr-x 2026-01-08 12:56:22
Edit Download
- drwxr-xr-x 2026-01-08 12:56:16
Edit Download
- drwxr-xr-x 2026-01-08 12:54:23
Edit Download
- drwxr-xr-x 2026-01-08 12:56:25
Edit Download
- drwxr-xr-x 2026-01-08 12:56:22
Edit Download
- drwxr-xr-x 2026-01-08 12:56:22
Edit Download
- drwxr-xr-x 2026-01-08 12:56:08
Edit Download
- drwxr-xr-x 2026-03-12 05:27:48
Edit Download
- drwxr-xr-x 2026-01-08 12:53:31
Edit Download
- drwxr-xr-x 2026-01-08 12:56:14
Edit Download
- drwxr-xr-x 2026-01-08 12:56:27
Edit Download
- drwxr-xr-x 2026-01-08 12:56:22
Edit Download
- drwxr-xr-x 2026-01-08 12:56:22
Edit Download
- drwxr-xr-x 2026-01-08 12:53:31
Edit Download
- drwxr-xr-x 2026-01-08 12:56:18
Edit Download
- drwxr-xr-x 2026-01-23 08:58:12
Edit Download
- drwxr-xr-x 2026-01-08 12:56:22
Edit Download
- drwxr-xr-x 2026-01-08 12:56:22
Edit Download
- drwxr-xr-x 2026-01-08 12:56:29
Edit Download
- drwxr-xr-x 2026-01-08 12:56:07
Edit Download
- drwxr-xr-x 2026-01-23 09:04:24
Edit Download
1.88 KB lrw-r--r-- 2024-07-02 18:46:37
Edit Download
515 B lrw-r--r-- 2024-03-31 02:34:30
Edit Download
1.85 KB lrw-r--r-- 2025-11-25 18:16:31
Edit Download
0 B ?????????? 2026-06-22 17:48:38
Edit Download
1003 B lrw-r--r-- 2025-06-04 12:20:05
Edit Download
1.79 KB lrw-r--r-- 2025-10-13 15:22:23
Edit Download
890 B lrw-r--r-- 2025-02-28 12:24:44
Edit Download
489 B lrw-r--r-- 2025-09-05 13:01:22
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).