feat: add initial fileset for 2.24.1
This commit is contained in:
12
mantis-entrypoint
Executable file
12
mantis-entrypoint
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
test -d admin && chmod -rx admin && mv admin .admin
|
||||
|
||||
# If MANTIS_ENABLE_ADMIN is set to , then enable 'admin' folder
|
||||
if [ ! -z "$MANTIS_ENABLE_ADMIN" ] && [ "$MANTIS_ENABLE_ADMIN" -ne "0" ]; then
|
||||
test -d .admin && mv .admin admin && chmod +rx admin
|
||||
fi
|
||||
|
||||
apache2-foreground
|
Reference in New Issue
Block a user