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:
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