author | Tom Gundersen
<tomegun@archlinux.org> 2012-08-20 13:13:01 UTC |
committer | Tom Gundersen
<tomegun@archlinux.org> 2012-08-20 13:13:01 UTC |
parent | 21fe0390654d6fe0e91f1d4d86fd88b9c654d9b1 |
PKGBUILD | +2 | -2 |
transmission-cli.install | +1 | -1 |
transmission.systemd | +3 | -0 |
diff --git a/PKGBUILD b/PKGBUILD index fc5dbd4..f5832ec 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgbase=transmission pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt') pkgver=2.61 -pkgrel=2 +pkgrel=3 arch=('i686' 'x86_64') url="http://www.transmissionbt.com/" license=('MIT') @@ -73,5 +73,5 @@ package_transmission-qt() { md5sums=('2ed5b7815ebda65223bac6bdb09dec42' '7d6186ee2a852ae3d44980f05063e194' 'db72b02fee139e8ab416324e6c044d76' - 'ecccabbc301d1024c9ef6a7f4aaa530a' + '5c289c8901221a94be74665368ab5c2c' '23f2320361ad54373c3a4551ef634fe8') diff --git a/transmission-cli.install b/transmission-cli.install index d99dcf8..68df894 100644 --- a/transmission-cli.install +++ b/transmission-cli.install @@ -10,7 +10,7 @@ _EOF post_upgrade() { # create user/group that the daemon will run as by default, do not delete this on uninstall, as it will own files getent group transmission >/dev/null || groupadd -g 169 transmission - getent passwd transmission >/dev/null || useradd -c 'Transmission BitTorrent Client' -u 169 -g transmission -b '/var/lib' -s /bin/false transmission + getent passwd transmission >/dev/null || useradd -c 'Transmission BitTorrent Client' -u 169 -g transmission -b '/var/lib' -m -s /bin/false transmission passwd -l transmission &>/dev/null systemd-tmpfiles --create transmission.conf } diff --git a/transmission.systemd b/transmission.systemd index 2ca0ded..56ab8f7 100644 --- a/transmission.systemd +++ b/transmission.systemd @@ -1,6 +1,9 @@ [Unit] Description=Transmission Bit Torrent Daemon +# This assumes that a user 'transmission' exists, with a writeable homedirectory, +# and that /run/transmission exists and is writeable by the transmission user. + [Service] User=transmission Type=forking