feat: add initial fileset for 2.24.1

This commit is contained in:
Oleg Kainov
2020-05-17 16:14:40 +02:00
parent e82159cf86
commit 32579a5ed3
5 changed files with 134 additions and 0 deletions

12
mantis-entrypoint Executable file
View 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