From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D7FFE1381DF for ; Tue, 16 Feb 2016 18:21:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F58B21C03B; Tue, 16 Feb 2016 18:21:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BC36B21C034 for ; Tue, 16 Feb 2016 18:21:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EFA9C340B50 for ; Tue, 16 Feb 2016 18:21:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5733715FA for ; Tue, 16 Feb 2016 18:21:05 +0000 (UTC) From: "Kristian Fiskerstrand" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kristian Fiskerstrand" Message-ID: <1455645073.16ea539b0675ae3ed164236d7506f7e7df6af6ee.k_f@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/deluge/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/deluge/files/deluged.init X-VCS-Directories: net-p2p/deluge/files/ X-VCS-Committer: k_f X-VCS-Committer-Name: Kristian Fiskerstrand X-VCS-Revision: 16ea539b0675ae3ed164236d7506f7e7df6af6ee X-VCS-Branch: master Date: Tue, 16 Feb 2016 18:21:05 +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: d32d15ad-d080-42f4-b53a-c132e558f392 X-Archives-Hash: ccb899a75b57d6a5fc1a57becc9c1f51 commit: 16ea539b0675ae3ed164236d7506f7e7df6af6ee Author: Paolo Pedroni iol it> AuthorDate: Tue Feb 16 09:18:36 2016 +0000 Commit: Kristian Fiskerstrand gentoo org> CommitDate: Tue Feb 16 17:51:13 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16ea539b net-p2p/deluge: Use "/run" instead of "/var/run" for pidfiles Fixes bug #468340 net-p2p/deluge/files/deluged.init | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net-p2p/deluge/files/deluged.init b/net-p2p/deluge/files/deluged.init index 49138e0..f68e40d 100644 --- a/net-p2p/deluge/files/deluged.init +++ b/net-p2p/deluge/files/deluged.init @@ -40,7 +40,7 @@ start() { fi ebegin "Starting Deluged" start-stop-daemon --start --user "${DELUGED_USER%:*}" \ - --name deluged --pidfile /var/run/deluged.pid --background --make-pidfile \ + --name deluged --pidfile /run/deluged.pid --background --make-pidfile \ ${DELUGED_UMASK:+--umask ${DELUGED_UMASK}} \ --exec /usr/bin/deluged -e HOME="${DELUGED_USER_HOME}" -- --do-not-daemonize ${DELUGED_OPTS} eend $? @@ -59,14 +59,14 @@ start() { stop() { ebegin "Stopping Deluged" start-stop-daemon --stop --user "${DELUGED_USER%:*}" \ - --name deluged --pidfile /var/run/deluged.pid + --name deluged --pidfile /run/deluged.pid eend $? if [ "${DELUGEUI_START}" = "true" ] ; then ebegin "Stopping Deluge" start-stop-daemon --stop --user "${DELUGED_USER%:*}" \ - --name deluge --pidfile /var/run/deluge.pid + --name deluge --pidfile /run/deluge.pid eend $? fi }