diff options
author | Pacho Ramos <pacho@gentoo.org> | 2013-10-15 18:35:34 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2013-10-15 18:35:34 +0000 |
commit | 9776d9017e456a363b22e2124354ac3ab77e3eab (patch) | |
tree | 189ccf31b3d1c841dedc158aee417686dff529df /dev-db/redis/files | |
parent | dev-python/sympy: Version BUmp; fix missing py3.3 handling, #488098 (diff) | |
download | gentoo-2-9776d9017e456a363b22e2124354ac3ab77e3eab.tar.gz gentoo-2-9776d9017e456a363b22e2124354ac3ab77e3eab.tar.bz2 gentoo-2-9776d9017e456a363b22e2124354ac3ab77e3eab.zip |
Add unit file (#488114 by Julien Sanchez)
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'dev-db/redis/files')
-rw-r--r-- | dev-db/redis/files/redis.service | 14 | ||||
-rw-r--r-- | dev-db/redis/files/redis.tmpfiles | 2 |
2 files changed, 16 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 + diff --git a/dev-db/redis/files/redis.tmpfiles b/dev-db/redis/files/redis.tmpfiles new file mode 100644 index 000000000000..657d8a551d4b --- /dev/null +++ b/dev-db/redis/files/redis.tmpfiles @@ -0,0 +1,2 @@ +# redis runtime directory +d /var/run/redis 0755 redis root - |