3 export BTR_BINDIR
=$
(dirname $0)/
4 export BTR_LIBDIR
=$
(dirname $0)/..
/share
/btr
5 BTR_BANNER
="Run btr as background daemon receiving jobs for a repo."
7 .
$BTR_LIBDIR/common.sh
16 btr_confirm
"Everything setup. Do you want to start the daemon?"
19 echo "Starting the daemon. Control with \`btrc $BTR_BUILD\`"
24 @SETSID@
$SHELL -c "$BTR_LIBDIR/btrd.sh &"