2021-05-18 06:42:38 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Redis persistent key-value database
|
|
|
|
After=network.target
|
2024-03-07 10:15:19 +00:00
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
2021-05-18 06:42:38 +00:00
|
|
|
|
|
|
|
[Service]
|
2024-03-07 10:15:19 +00:00
|
|
|
ExecStart=/usr/bin/redis-server /etc/redis/redis.conf --daemonize no --supervised systemd
|
2021-05-18 06:42:38 +00:00
|
|
|
Type=notify
|
|
|
|
User=redis
|
|
|
|
Group=redis
|
|
|
|
RuntimeDirectory=redis
|
|
|
|
RuntimeDirectoryMode=0755
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|