fix some pathes

This commit is contained in:
Matthias Wirth
2019-07-26 16:21:39 +02:00
parent 9b37f6d17c
commit ff824ad547
3 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
alias.url += (
"/tar1090/data/" => "/run/dump1090-fa/",
"/tar1090/chunks/" => "/run/tar1090/",
"/tar1090/" => "/usr/local/share/tar1090/html"
"/tar1090/" => "/usr/local/share/tar1090/html/"
)
# redirect the slash-less URL

View File

@@ -34,12 +34,12 @@ then
echo "Unable to download files, exiting! (Maybe try again?)"
exit 1
fi
cd tar1090-master
fi
mkdir -p $ipath
cp -r -T tar1090-master $ipath
cp -r * $ipath
cd tar1090-master
cp -n default /etc/default/tar1090
cp tar1090.service /lib/systemd/system

View File

@@ -9,7 +9,7 @@ User=dump1090
RuntimeDirectory=tar1090
RuntimeDirectoryMode=0755
EnvironmentFile=/etc/default/tar1090
ExecStart=-/usr/local/bin/tar1090.sh
ExecStart=-/usr/local/share/tar1090/tar1090.sh
Type=simple
Restart=always
RestartSec=30