summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPPed72 <paolo.pedroni@iol.it>2016-03-09 11:17:14 +0100
committerPatrice Clement <monsieurp@gentoo.org>2016-03-10 10:18:12 +0000
commit6314161ce622b9e0ea6a80e18297464446753a7b (patch)
treeb4c93d19baee2e1b4bc2a476a52aca530754175b /net-p2p
parentnet-p2p/deluge: improve configuration defaults (diff)
downloadgentoo-6314161ce622b9e0ea6a80e18297464446753a7b.tar.gz
gentoo-6314161ce622b9e0ea6a80e18297464446753a7b.tar.bz2
gentoo-6314161ce622b9e0ea6a80e18297464446753a7b.zip
net-p2p/deluge: Add systemd drop-ins
These files allow configuration of systemd units Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/deluge/files/deluge-web.service.conf4
-rw-r--r--net-p2p/deluge/files/deluged.service.conf5
2 files changed, 9 insertions, 0 deletions
diff --git a/net-p2p/deluge/files/deluge-web.service.conf b/net-p2p/deluge/files/deluge-web.service.conf
new file mode 100644
index 00000000000..2c594cdf8f7
--- /dev/null
+++ b/net-p2p/deluge/files/deluge-web.service.conf
@@ -0,0 +1,4 @@
+[Service]
+User=deluge
+Group=deluge
+Environment="DELUGE_WEB_HOME=/var/lib/deluge" "DELUGE_WEB_OPTS="
diff --git a/net-p2p/deluge/files/deluged.service.conf b/net-p2p/deluge/files/deluged.service.conf
new file mode 100644
index 00000000000..2d74e23582c
--- /dev/null
+++ b/net-p2p/deluge/files/deluged.service.conf
@@ -0,0 +1,5 @@
+[Service]
+User=deluge
+Group=deluge
+#UMask=0002
+Environment="DELUGED_HOME=/var/lib/deluge" "DELUGED_OPTS=-p 58846"