61d79735c3
cleanup service file, add redis.sysctl file, add more info to README.SUSE OBS-URL: https://build.opensuse.org/request/show/505518 OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=93
17 lines
280 B
Desktop File
17 lines
280 B
Desktop File
[Unit]
|
|
Description=Redis
|
|
After=network.target
|
|
PartOf=redis.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=redis
|
|
Group=redis
|
|
PrivateTmp=true
|
|
PIDFile=/var/run/redis/%i.pid
|
|
ExecStart=/usr/sbin/redis-server /etc/redis/%i.conf
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target redis.target
|