mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
separate tar and install folders
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
#
|
||||
PIALERT_VERSION=`awk '$1=="VERSION" { print $3 }' ../back/pialert.conf | tr -d \'`
|
||||
PIALERT_DEV_PATH=/media/WD_4TB/dev
|
||||
|
||||
cd $PIALERT_DEV_PATH
|
||||
pwd
|
||||
|
||||
ls -l pialert/install/pialert*.tar
|
||||
tar tvf pialert/install/pialert_latest.tar | wc -l
|
||||
rm pialert/install/pialert_*.tar
|
||||
|
||||
tar cvf pialert/install/pialert_$PIALERT_VERSION.tar --exclude="pialert/install" --exclude="pialert/.git" pialert | wc -l
|
||||
|
||||
ln -s pialert_$PIALERT_VERSION.tar pialert/install/pialert_latest.tar
|
||||
ls -l pialert/install/pialert*.tar
|
||||
|
||||
|
||||
|
||||
10
install/index.html
Normal file
10
install/index.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<!-- ---------------------------------------------------------------------------
|
||||
# Pi.Alert
|
||||
# Open Source Network Guard / WIFI & LAN intrusion detector
|
||||
#
|
||||
# index.html - Redirect file to pialert subdirectory
|
||||
#-------------------------------------------------------------------------------
|
||||
# Puche 2021 pi.alert.application@gmail.com GNU GPLv3
|
||||
#--------------------------------------------------------------------------- -->
|
||||
|
||||
<meta http-equiv="refresh" content="0; url=pialert"/>
|
||||
Binary file not shown.
12
install/pialert_front.conf
Normal file
12
install/pialert_front.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
<!-- ---------------------------------------------------------------------------
|
||||
# Pi.Alert
|
||||
# Open Source Network Guard / WIFI & LAN intrusion detector
|
||||
#
|
||||
# index.html - Redirect file to pialert subdirectory
|
||||
#-------------------------------------------------------------------------------
|
||||
# Puche 2021 pi.alert.application@gmail.com GNU GPLv3
|
||||
#--------------------------------------------------------------------------- -->
|
||||
|
||||
$HTTP["host"] == "pi.alert" {
|
||||
server.document-root = "/var/www/html/pialert/"
|
||||
}
|
||||
Binary file not shown.
Reference in New Issue
Block a user