diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-04-23 23:20:00 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-04-23 23:27:14 -0400 |
commit | 0692b037ffd8d2ac0b202f29dc842141bb7ee83d (patch) | |
tree | c4f250ecf1a8b43d3ea8a6e7e3de273d9aeb15d4 /net-p2p | |
parent | dev-qt/qtpositioning: update dependencies (diff) | |
download | gentoo-0692b037ffd8d2ac0b202f29dc842141bb7ee83d.tar.gz gentoo-0692b037ffd8d2ac0b202f29dc842141bb7ee83d.tar.bz2 gentoo-0692b037ffd8d2ac0b202f29dc842141bb7ee83d.zip |
net-p2p/transmission: systemd: Move config-dir to a service.d file
Package-Manager: portage-2.2.28_p71
Diffstat (limited to 'net-p2p')
-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 |