aboutsummaryrefslogtreecommitdiff
path: root/setup/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup/setup.sh')
-rwxr-xr-xsetup/setup.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup/setup.sh b/setup/setup.sh
index 72fab94e9..16e618b8d 100755
--- a/setup/setup.sh
+++ b/setup/setup.sh
@@ -2,8 +2,6 @@
mkdir -p /opt/traccar
cp -r * /opt/traccar
-rm -r ../out
-rm /opt/traccar/setup.sh
chmod -R go+rX /opt/traccar
mv /opt/traccar/traccar.service /etc/systemd/system
@@ -12,3 +10,6 @@ chmod 664 /etc/systemd/system/traccar.service
systemctl daemon-reload
systemctl enable traccar.service
systemctl start traccar.service
+
+rm /opt/traccar/setup.sh
+rm -r ../out