public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/redis/files/
Date: Mon, 10 Apr 2017 17:29:00 +0000 (UTC)	[thread overview]
Message-ID: <1491845310.48788b3a770a210e363ec0a45989316b0021cb96.wizardedit@gentoo> (raw)

commit:     48788b3a770a210e363ec0a45989316b0021cb96
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 10 17:00:07 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Mon Apr 10 17:28:30 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48788b3a

dev-db/redis: remove some unused files from $FILESDIR

 dev-db/redis/files/redis.initd   | 40 ----------------------------------------
 dev-db/redis/files/redis.service | 14 --------------
 2 files changed, 54 deletions(-)

diff --git a/dev-db/redis/files/redis.initd b/dev-db/redis/files/redis.initd
deleted file mode 100644
index d808bc0e190..00000000000
--- a/dev-db/redis/files/redis.initd
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/sbin/openrc-run
-
-REDIS_EXEC=/usr/sbin/redis-server
-REDIS_PID=${REDIS_PID:-/var/run/redis/redis.pid}
-REDIS_DIR=${REDIS_DIR:-/var/lib/redis}
-REDIS_CONF=${REDIS_CONF:-/etc/redis.conf}
-REDIS_OPTS=${REDIS_OPTS:-"${REDIS_CONF}"}
-REDIS_USER=${REDIS_USER:-redis}
-REDIS_GROUP=${REDIS_GROUP:-redis}
-
-depend() {
-	use net localmount logger
-	after keepalived
-}
-
-start() {
-
-	local PID_DIR=$(dirname ${REDIS_PID})
-	mkdir -p ${PID_DIR}
-	chown ${REDIS_USER}:${REDIS_GROUP} ${PID_DIR}
-
-	ebegin "Starting Redis server"
-	start-stop-daemon --start \
-		--chdir "${REDIS_DIR}" \
-		--user ${REDIS_USER}:${REDIS_GROUP} \
-		--pidfile "${REDIS_PID}" \
-		--exec "${REDIS_EXEC}" \
-		-- ${REDIS_OPTS}
-	ret=$?
-	eend ${ret}
-
-}
-
-stop() {
-	ebegin "Stopping Redis server"
-	start-stop-daemon --stop --quiet --pidfile "${REDIS_PID}"
-	ret=$?
-	rm -f "${REDIS_PID}"
-	eend ${ret}
-}

diff --git a/dev-db/redis/files/redis.service b/dev-db/redis/files/redis.service
deleted file mode 100644
index f1322f69f11..00000000000
--- a/dev-db/redis/files/redis.service
+++ /dev/null
@@ -1,14 +0,0 @@
-[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
-


             reply	other threads:[~2017-04-10 17:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-10 17:29 Austin English [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-05-23 14:57 [gentoo-commits] repo/gentoo:master commit in: dev-db/redis/files/ Alexys Jacob
2017-11-23 22:21 Robin H. Johnson
2018-09-05 21:20 Robin H. Johnson
2019-02-27  5:35 Aaron Bauman
2020-06-15  2:35 Aaron Bauman
2020-07-27 20:06 Aaron Bauman
2020-11-11  0:59 Thomas Deutschmann
2021-01-20 23:04 Conrad Kostecki
2021-04-05  0:07 Conrad Kostecki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1491845310.48788b3a770a210e363ec0a45989316b0021cb96.wizardedit@gentoo \
    --to=wizardedit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox