diff options
Diffstat (limited to 'dev-db/redis/files/redis.service')
-rw-r--r-- | dev-db/redis/files/redis.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-db/redis/files/redis.service b/dev-db/redis/files/redis.service new file mode 100644 index 000000000000..f1322f69f11e --- /dev/null +++ b/dev-db/redis/files/redis.service @@ -0,0 +1,14 @@ +[Unit] +Description=A persistent key-value database +After=syslog.target network.target + +[Service] +Type=forking +PIDFile=/var/run/redis/redis.pid +ExecStart=/usr/sbin/redis-server /etc/redis.conf +User=redis +Group=redis + +[Install] +WantedBy=multi-user.target + |