mirror of
https://github.com/casjaysdevdocker/mailman
synced 2025-09-21 03:57:53 -04:00
🗃️ Committing everything that changed 🗃️
Some checks failed
release-tag / release-image (push) Failing after 15s
Some checks failed
release-tag / release-image (push) Failing after 15s
rootfs/usr/local/etc/docker/functions/entrypoint.sh rootfs/usr/local/etc/docker/init.d/mailman.sh
This commit is contained in:
@@ -28,6 +28,18 @@ if [ ! -f started ]; then
|
||||
chown -R list:list /var/lib/mailman/
|
||||
|
||||
#Create docroot
|
||||
# Function to exit appropriately based on context
|
||||
__script_exit() {
|
||||
local exit_code="${1:-0}"
|
||||
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
|
||||
# Script is being sourced - use return
|
||||
return "$exit_code"
|
||||
else
|
||||
# Script is being executed - use exit
|
||||
exit "$exit_code"
|
||||
fi
|
||||
}
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
mkdir /var/www/lists
|
||||
echo "<html><h2>Welcome to ${URL_HOST}</h2></html>" >/var/www/lists/index.html
|
||||
|
||||
|
Reference in New Issue
Block a user