commit: 3e1a129743e430017e58b5a24f9df6fefaef3e39
Author: PPed72 <paolo.pedroni <AT> iol <DOT> it>
AuthorDate: Wed Mar 9 10:21:00 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Mar 10 10:18:12 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e1a1297
net-p2p/deluge: Improved systemd units
No more sourcing of /etc/conf.d/deluge* (QA violation). Systemd
units are now configured in drop-in files.
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
net-p2p/deluge/files/deluge-web.service-2 | 11 +++++++++++
net-p2p/deluge/files/deluged.service-2 | 11 +++++++++++
2 files changed, 22 insertions(+)
diff --git a/net-p2p/deluge/files/deluge-web.service-2
b/net-p2p/deluge/files/deluge-web.service-2
new file mode 100644
index 0000000..adb3830
--- /dev/null
+++ b/net-p2p/deluge/files/deluge-web.service-2
@@ -0,0 +1,11 @@
+[Unit]
+Description=Deluge WebUI
+Documentation=man:deluge-web
+After=deluged.service
+
+[Service]
+ExecStart=/usr/bin/deluge-web -c ${DELUGED_HOME} ${DELUGED_OPTS}
+
+[Install]
+WantedBy=multi-user.target
+
diff --git a/net-p2p/deluge/files/deluged.service-2
b/net-p2p/deluge/files/deluged.service-2
new file mode 100644
index 0000000..049cd02
--- /dev/null
+++ b/net-p2p/deluge/files/deluged.service-2
@@ -0,0 +1,11 @@
+[Unit]
+Description=Deluge BitTorrent client
+Documentation=man:deluged
+After=network.target local-fs.target
+Wants=local-fs.target
+
+[Service]
+ExecStart=/usr/bin/deluged -d -c ${DELUGED_HOME} ${DELUGED_OPTS}
+
+[Install]
+WantedBy=multi-user.target