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 929E4139085 for ; Sun, 18 Dec 2016 20:44:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1F98E0C27; Sun, 18 Dec 2016 20:44:11 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 7C056E0C27 for ; Sun, 18 Dec 2016 20:44:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2D14733FECD for ; Sun, 18 Dec 2016 20:44:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 76A1B24C5 for ; Sun, 18 Dec 2016 20:44:08 +0000 (UTC) From: "Dirkjan Ochtman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Dirkjan Ochtman" Message-ID: <1482093843.2e69c9ffe736ba63081ecc045ea42815d9563adb.djc@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/rspamd/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/rspamd/files/rspamd.init-r1 X-VCS-Directories: mail-filter/rspamd/files/ X-VCS-Committer: djc X-VCS-Committer-Name: Dirkjan Ochtman X-VCS-Revision: 2e69c9ffe736ba63081ecc045ea42815d9563adb X-VCS-Branch: master Date: Sun, 18 Dec 2016 20:44:08 +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: d0b3a61f-2d34-40f9-9e81-20e71ce2e249 X-Archives-Hash: 67a9da13a03aaf0d4bb05e8903de0ce7 commit: 2e69c9ffe736ba63081ecc045ea42815d9563adb Author: Michael Mair-Keimberger (asterix) gmail com> AuthorDate: Sun Dec 18 18:47:43 2016 +0000 Commit: Dirkjan Ochtman gentoo org> CommitDate: Sun Dec 18 20:44:03 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e69c9ff mail-filter/rspamd: remove unused init file mail-filter/rspamd/files/rspamd.init-r1 | 43 --------------------------------- 1 file changed, 43 deletions(-) diff --git a/mail-filter/rspamd/files/rspamd.init-r1 b/mail-filter/rspamd/files/rspamd.init-r1 deleted file mode 100644 index 74e043e..00000000 --- a/mail-filter/rspamd/files/rspamd.init-r1 +++ /dev/null @@ -1,43 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -extra_commands="checkconfig" -extra_started_commands="reload" - -RUNDIR=/var/run/rspamd -PIDFILE=$RUNDIR/rspamd.pid - -depend() { - need net -} - -checkconfig() { - /usr/bin/rspamadm configtest -c /etc/rspamd/rspamd.sysvinit.conf > /dev/null \ - || return 1 -} - -start() { - checkconfig || return 1 - ebegin "Starting ${SVCNAME}" - - mkdir -m0750 -p $RUNDIR - chown rspamd:rspamd $RUNDIR - chmod g+s $RUNDIR - rm -f $RUNDIR/$SVCNAME.sock - - start-stop-daemon --start --quiet --pidfile $PIDFILE -u rspamd -g rspamd \ - --exec /usr/bin/rspamd - eend $? -} - -stop() { - if [ "${RC_CMD}" = "restart" ] ; then - checkconfig || return 1 - fi - - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE \ - --exec /usr/bin/rspamd - eend $? -}