From 601ac968c95378ee9e9ce1fbbe8162f312c70e57 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 4 Oct 2018 10:37:49 +1300 Subject: Fix installation script (fix #4082) --- setup/setup.sh | 5 +++-- 1 file 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 -- cgit v1.2.3