Package Details: btpd 0.16-5

Git Clone URL: (read-only)
Package Base: btpd
Description: BitTorrent client consisting of a daemon and client commands to control the daemon
Upstream URL:
Licenses: custom
Submitter: qguv
Maintainer: qguv
Last Packager: qguv
Votes: 4
Popularity: 0.241120
First Submitted: 2016-01-31 17:52
Last Updated: 2016-07-01 15:11

Latest Comments

qguv commented on 2016-07-01 15:15

alive4ever: I agree. Thank you for your patch; I've merged it and added you as a contributor. Your patch had a couple errors, but these are fixed. Check out the changes history if you're interested.

alive4ever commented on 2016-07-01 09:38

I've sent a patch. I hope it'll be useful.

alive4ever commented on 2016-07-01 07:28

The btpd daemon should run with its own uid/gid. A postinstall action should be available, to create a system user to run the daemon. Here is an example

post_install() {
printf "Creating btpd system user...\n"
getent passwd btpd >/dev/null || useradd -r -m -d /var/btpd -s /bin/nologin btpd 2>/dev/null
post_upgrade() {
post_remove() {
printf "Removing btpd system user...\n"
getent passwd btpd >/dev/null && userdel -r btpd 2>/dev/null

The btpd.service should also be modified to run under btpd's system user instead of root.

ExecStart=/usr/bin/btpd --no-daemon