public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kristian Fiskerstrand" <k_f@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/deluge/files/
Date: Tue, 16 Feb 2016 18:21:05 +0000 (UTC)	[thread overview]
Message-ID: <1455645064.b9d41d1974b7f60a90c62e354c5a8e849a727c6e.k_f@gentoo> (raw)

commit:     b9d41d1974b7f60a90c62e354c5a8e849a727c6e
Author:     Paolo Pedroni <paolo.pedroni <AT> iol <DOT> it>
AuthorDate: Fri Feb 12 10:19:33 2016 +0000
Commit:     Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
CommitDate: Tue Feb 16 17:51:04 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9d41d19

net-p2p/deluge: add umask values to openrc script (Fixes bug #566862)

Thanks to Scott Jones <morbidsvt <AT> gmail.com>

 net-p2p/deluge/files/deluged.conf | 1 +
 net-p2p/deluge/files/deluged.init | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net-p2p/deluge/files/deluged.conf b/net-p2p/deluge/files/deluged.conf
index 0918f45..21b375d 100644
--- a/net-p2p/deluge/files/deluged.conf
+++ b/net-p2p/deluge/files/deluged.conf
@@ -2,6 +2,7 @@
 # Change this to the user you want to run deluged as.
 # You may specify a group too, after a colon
 DELUGED_USER=""
+# DELUGED_UMASK="0002"
 # DELUGED_OPTS="-p 58846"
 DELUGEUI_START="false"
 DELUGEUI_OPTS="-u web"

diff --git a/net-p2p/deluge/files/deluged.init b/net-p2p/deluge/files/deluged.init
index e60945d..24f0a12 100644
--- a/net-p2p/deluge/files/deluged.init
+++ b/net-p2p/deluge/files/deluged.init
@@ -41,6 +41,7 @@ start() {
 	ebegin "Starting Deluged"
 	start-stop-daemon --start --user "${DELUGED_USER%:*}" \
 	--name deluged --pidfile /var/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 $?
 


             reply	other threads:[~2016-02-16 18:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-16 18:21 Kristian Fiskerstrand [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-06-05 23:03 [gentoo-commits] repo/gentoo:master commit in: net-p2p/deluge/files/ Conrad Kostecki
2020-04-30 18:46 Andreas Sturmlechner
2020-04-27 13:48 Mikle Kolyada
2019-10-21 13:25 Craig Andrews
2017-12-20 22:13 Kristian Fiskerstrand
2016-03-10 10:34 Patrice Clement
2016-03-10 10:34 Patrice Clement
2016-03-10 10:34 Patrice Clement
2016-03-04  8:44 Ian Delaney
2016-02-28 20:38 Kristian Fiskerstrand
2016-02-28 20:38 Kristian Fiskerstrand
2016-02-28 20:38 Kristian Fiskerstrand
2016-02-16 18:21 Kristian Fiskerstrand
2016-02-16 18:21 Kristian Fiskerstrand
2016-02-16 18:21 Kristian Fiskerstrand

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=1455645064.b9d41d1974b7f60a90c62e354c5a8e849a727c6e.k_f@gentoo \
    --to=k_f@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