diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-04 10:37:49 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-04 10:37:49 +1300 |
commit | 601ac968c95378ee9e9ce1fbbe8162f312c70e57 (patch) | |
tree | 97313c9513e58ac379aeac237b2e71bbe37eeabd /setup | |
parent | 97551c24bd063d2d350eac141ce5cfbf94927187 (diff) | |
download | trackermap-server-601ac968c95378ee9e9ce1fbbe8162f312c70e57.tar.gz trackermap-server-601ac968c95378ee9e9ce1fbbe8162f312c70e57.tar.bz2 trackermap-server-601ac968c95378ee9e9ce1fbbe8162f312c70e57.zip |
Fix installation script (fix #4082)
Diffstat (limited to 'setup')
-rwxr-xr-x | setup/setup.sh | 5 |
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 |