From a47dbaa068c6c781b5ed200035e89d1aae3d3d00 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 11 Jul 2015 10:52:08 +0100 Subject: [PATCH] service file path --- src/freedombone | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/freedombone b/src/freedombone index b309ef43..d425547b 100755 --- a/src/freedombone +++ b/src/freedombone @@ -7584,7 +7584,11 @@ function install_tox_node { echo ')' >> /etc/tox-bootstrapd.conf fi - cp $INSTALL_DIR/toxcore/tox-bootstrapd.service /etc/systemd/system/ + if [ ! -f $INSTALL_DIR/toxcore/other/bootstrap_daemon/tox-bootstrapd.service ]; then + echo "File not found $INSTALL_DIR/toxcore/other/bootstrap_daemon/tox-bootstrapd.service" + exit 7359 + fi + cp $INSTALL_DIR/toxcore/other/bootstrap_daemon/tox-bootstrapd.service /etc/systemd/system/ systemctl daemon-reload systemctl enable tox-bootstrapd.service systemctl start tox-bootstrapd.service