forked from pool/redis
159f06e6eb
- make sure we do not daemonize - finished systemd support - update to 2.8.19 OBS-URL: https://build.opensuse.org/request/show/294021 OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=60
21 lines
490 B
Desktop File
21 lines
490 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
|
|
|
|
#ExecStart=/usr/sbin/openvpn --daemon --suppress-timestamps --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf
|
|
#ExecReload=/sbin/killproc -p /var/run/openvpn/%i.pid -HUP /usr/sbin/openvpn
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target redis.target
|
|
|