Detect binary

This commit is contained in:
Bob Mottram 2015-07-11 11:08:54 +01:00
parent a47dbaa068
commit 2ee470e493
1 changed files with 5 additions and 0 deletions

View File

@ -7537,6 +7537,11 @@ function install_tox_node {
fi
make install
if [ ! -f /usr/local/bin/tox-bootstrapd ]; then
echo "File not found /usr/local/bin/tox-bootstrapd"
exit 73862
fi
useradd --home-dir /var/lib/tox-bootstrapd --create-home --system --shell /sbin/nologin --comment "Account to run Tox's DHT bootstrap daemon" --user-group tox-bootstrapd
chmod 700 /var/lib/tox-bootstrapd
if [ ! -f $INSTALL_DIR/toxcore/other/bootstrap_daemon/tox-bootstrapd.conf ]; then