From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BCBDC139694 for ; Mon, 10 Apr 2017 17:29:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 260CF21C039; Mon, 10 Apr 2017 17:29:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 06DF621C039 for ; Mon, 10 Apr 2017 17:29:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 31EC9340DF9 for ; Mon, 10 Apr 2017 17:29:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC60273E6 for ; Mon, 10 Apr 2017 17:29:00 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1491845310.48788b3a770a210e363ec0a45989316b0021cb96.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/redis/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/redis/files/redis.initd dev-db/redis/files/redis.service X-VCS-Directories: dev-db/redis/files/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 48788b3a770a210e363ec0a45989316b0021cb96 X-VCS-Branch: master Date: Mon, 10 Apr 2017 17:29:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5967e167-6843-46d7-8a1c-81b29db22e66 X-Archives-Hash: 7f350dddf7d5a28dc4db24605da09dac commit: 48788b3a770a210e363ec0a45989316b0021cb96 Author: Austin English gentoo org> AuthorDate: Mon Apr 10 17:00:07 2017 +0000 Commit: Austin English gentoo 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 -