diff options
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/deluge/files/deluged.conf | 1 | ||||
-rw-r--r-- | net-p2p/deluge/files/deluged.init | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/net-p2p/deluge/files/deluged.conf b/net-p2p/deluge/files/deluged.conf index 0918f45fc7ff..21b375d5c97f 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 e60945df1558..24f0a123eddf 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 $? |