fix some pathes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user