aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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