dot

packages and services management
Log | Files | Refs | README

commit c7259742915b70326bd4f588c1a911dd85c2cdcd
parent 38bd5db2a0aa31a503a0fdb439b729d0211d2792
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 31 Mar 2018 00:17:45 +0200

when defaults are not what you want, change the source

Diffstat:
Mpack/btpd/build | 3+++
Mrun/btpd/run | 3+++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/pack/btpd/build b/pack/btpd/build @@ -13,4 +13,7 @@ cp "$PACK/btpd/Makefile.in" \ --prefix="$PREFIX" \ --with-openssl="$PACKROOT" +sed 's/\.btpd/var\/btpd/' misc/subr.c > misc/subr.c.sed +mv misc/subr.c.sed misc/subr.c + make install diff --git a/run/btpd/run b/run/btpd/run @@ -3,4 +3,7 @@ # bit torrent protocol daemon exec 2>&1 + +mkdir -p "$HOME/var/btpd" + exec btpd --no-daemon