mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
finish heimdall integration
This commit is contained in:
BIN
docker/heimdall/dist/app/app.sqlite
vendored
BIN
docker/heimdall/dist/app/app.sqlite
vendored
Binary file not shown.
BIN
docker/heimdall/dist/app/bg1.jpg
vendored
BIN
docker/heimdall/dist/app/bg1.jpg
vendored
Binary file not shown.
Before Width: | Height: | Size: 606 KiB After Width: | Height: | Size: 510 KiB |
BIN
docker/heimdall/dist/app/eshead.png
vendored
Normal file
BIN
docker/heimdall/dist/app/eshead.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
docker/heimdall/dist/app/spiderfoot.png
vendored
BIN
docker/heimdall/dist/app/spiderfoot.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.0 KiB |
10
docker/heimdall/dist/start.sh
vendored
Executable file
10
docker/heimdall/dist/start.sh
vendored
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/ash
|
||||
if [ "$(ls /var/lib/nginx/html/database)" = "" ] && [ "$HEIMDALL_PERSIST" = "YES" ];
|
||||
then
|
||||
tar xvfz /var/lib/nginx/first.tgz -C /
|
||||
fi
|
||||
if [ "$HEIMDALL_PERSIST" = "YES" ];
|
||||
then
|
||||
chmod 770 -R /var/lib/nginx/html/database /var/lib/nginx/html/storage
|
||||
chown root:www-data -R /var/lib/nginx/html/database /var/lib/nginx/html/storage
|
||||
fi
|
Reference in New Issue
Block a user