diff options
Diffstat (limited to 'net-p2p/transmission')
-rw-r--r-- | net-p2p/transmission/files/transmission-daemon.service.conf | 2 | ||||
-rw-r--r-- | net-p2p/transmission/transmission-2.92.ebuild | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net-p2p/transmission/files/transmission-daemon.service.conf b/net-p2p/transmission/files/transmission-daemon.service.conf new file mode 100644 index 000000000000..ae543ca3f08f --- /dev/null +++ b/net-p2p/transmission/files/transmission-daemon.service.conf @@ -0,0 +1,2 @@ +[Service] +Environment=TRANSMISSION_HOME=/var/lib/transmission/config diff --git a/net-p2p/transmission/transmission-2.92.ebuild b/net-p2p/transmission/transmission-2.92.ebuild index 4ae6553f1c35..a1d9b1babd84 100644 --- a/net-p2p/transmission/transmission-2.92.ebuild +++ b/net-p2p/transmission/transmission-2.92.ebuild @@ -66,9 +66,6 @@ src_prepare() { # Trick to avoid automagic dependency use ayatana || { sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac || die; } - # Pass our configuration dir to systemd unit file - sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' daemon/transmission-daemon.service || die - # http://trac.transmissionbt.com/ticket/4324 sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' libtransmission/Makefile.am || die @@ -120,6 +117,7 @@ src_install() { newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon newconfd "${FILESDIR}"/transmission-daemon.confd.4 transmission-daemon systemd_dounit daemon/transmission-daemon.service + systemd_install_serviced "${FILESDIR}"/transmission-daemon.service.conf if use qt4 || use qt5; then pushd qt >/dev/null || die |