aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-10 15:30:28 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-10 15:30:28 +1300
commit4d7c36cbd2ec7f6e7d971f4de013603d4cb80d0e (patch)
treef3a57f141ecbbabd49adf7a1040c216c59777c8d
parent37058629a3b39da810baeef92f70a6a5693d0f33 (diff)
downloadtraccar-server-4d7c36cbd2ec7f6e7d971f4de013603d4cb80d0e.tar.gz
traccar-server-4d7c36cbd2ec7f6e7d971f4de013603d4cb80d0e.tar.bz2
traccar-server-4d7c36cbd2ec7f6e7d971f4de013603d4cb80d0e.zip
Fix setup script issues
-rwxr-xr-xsetup/setup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup/setup.sh b/setup/setup.sh
index 39a00d8e8..d2e5b2dec 100755
--- a/setup/setup.sh
+++ b/setup/setup.sh
@@ -9,7 +9,8 @@ then
rm -r ../out
rm /opt/traccar/setup.sh
chmod -R go+rX /opt/traccar
- /opt/traccar/bin/installDaemon.sh
+ cd /opt/traccar/bin/
+ . /opt/traccar/bin/installDaemon.sh
else
echo 'Java 7 or higher is required'
fi