3 export BTR_BINDIR
=$
(realpath $
(dirname $0)/)
4 export BTR_LIBDIR
=$
(realpath $
(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 &"