You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
393 B
19 lines
393 B
[Unit]
|
|
Description=Redis persistent key-value database
|
|
After=network.target
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/redis-server /etc/redis/redis.conf --daemonize no --supervised systemd
|
|
ExecStop=/usr/libexec/redis-shutdown
|
|
Type=notify
|
|
User=redis
|
|
Group=redis
|
|
RuntimeDirectory=redis
|
|
RuntimeDirectoryMode=0755
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|