diff options
author | PPed72 <paolo.pedroni@iol.it> | 2016-03-09 11:21:00 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-03-10 10:18:12 +0000 |
commit | 3e1a129743e430017e58b5a24f9df6fefaef3e39 (patch) | |
tree | 5a2f7c8b6836ec9ba5a32ce66bafcbda6c8e4cf8 /net-p2p | |
parent | net-p2p/deluge: Add systemd drop-ins (diff) | |
download | gentoo-3e1a129743e430017e58b5a24f9df6fefaef3e39.tar.gz gentoo-3e1a129743e430017e58b5a24f9df6fefaef3e39.tar.bz2 gentoo-3e1a129743e430017e58b5a24f9df6fefaef3e39.zip |
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@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/deluge/files/deluge-web.service-2 | 11 | ||||
-rw-r--r-- | net-p2p/deluge/files/deluged.service-2 | 11 |
2 files changed, 22 insertions, 0 deletions
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 000000000000..adb38300a30e --- /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 000000000000..049cd025b534 --- /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 |