From 3184187dc1688c0c3a896d2d3be7f83e0a3fa816 Mon Sep 17 00:00:00 2001 From: PPed72 Date: Wed, 16 Oct 2019 16:47:55 +0200 Subject: [PATCH] net-p2p/deluge: fix deluge-web.service unit file Closes: https://bugs.gentoo.org/697856 Signed-off-by: Paolo Pedroni Package-Manager: Portage-2.3.76, Repoman-2.3.16 Closes: https://github.com/gentoo/gentoo/pull/13319 Signed-off-by: Craig Andrews --- net-p2p/deluge/deluge-2.0.3.ebuild | 2 +- net-p2p/deluge/files/deluge-web.service-3 | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 net-p2p/deluge/files/deluge-web.service-3 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 -- 2.26.2