Skip to content

Commit

Permalink
Fix installation script (fix traccar#4082)
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Oct 3, 2018
1 parent 97551c2 commit 601ac96
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 601ac96

Please sign in to comment.