diff options
author | PPed72 <paolo.pedroni@iol.it> | 2019-10-16 16:47:55 +0200 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2019-10-16 11:00:39 -0400 |
commit | 3184187dc1688c0c3a896d2d3be7f83e0a3fa816 (patch) | |
tree | ad61e8de8d0833173c39cb9da6afdee9f35d8fe4 /net-p2p | |
parent | net-wireless/srslte: initial import (diff) | |
download | gentoo-3184187dc1688c0c3a896d2d3be7f83e0a3fa816.tar.gz gentoo-3184187dc1688c0c3a896d2d3be7f83e0a3fa816.tar.bz2 gentoo-3184187dc1688c0c3a896d2d3be7f83e0a3fa816.zip |
net-p2p/deluge: fix deluge-web.service unit file
Closes: https://bugs.gentoo.org/697856
Signed-off-by: Paolo Pedroni <paolo.pedroni@iol.it>
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Closes: https://github.com/gentoo/gentoo/pull/13319
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/deluge/deluge-2.0.3.ebuild | 2 | ||||
-rw-r--r-- | net-p2p/deluge/files/deluge-web.service-3 | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/net-p2p/deluge/deluge-2.0.3.ebuild b/net-p2p/deluge/deluge-2.0.3.ebuild index 879207fa8b37..849209d96ba1 100644 --- a/net-p2p/deluge/deluge-2.0.3.ebuild +++ b/net-p2p/deluge/deluge-2.0.3.ebuild @@ -99,7 +99,7 @@ python_install_all() { if use webinterface; then newinitd "${FILESDIR}/deluge-web.init" deluge-web newconfd "${FILESDIR}/deluge-web.conf" deluge-web - systemd_newunit "${FILESDIR}/deluge-web.service-2" deluge-web.service + systemd_newunit "${FILESDIR}/deluge-web.service-3" deluge-web.service systemd_install_serviced "${FILESDIR}/deluge-web.service.conf" else rm -rf "${D}/usr/$(get_libdir)/python2.7/site-packages/deluge/ui/web/" || die diff --git a/net-p2p/deluge/files/deluge-web.service-3 b/net-p2p/deluge/files/deluge-web.service-3 new file mode 100644 index 000000000000..5e0049e7ac23 --- /dev/null +++ b/net-p2p/deluge/files/deluge-web.service-3 @@ -0,0 +1,10 @@ +[Unit] +Description=Deluge WebUI +Documentation=man:deluge-web +After=deluged.service + +[Service] +ExecStart=/usr/bin/deluge-web -d -c ${DELUGED_HOME} ${DELUGED_OPTS} + +[Install] +WantedBy=multi-user.target |