Initial mailman core docker container

This commit is contained in:
Abhilash Raj
2017-03-28 17:06:15 -07:00
commit b5535d894d
4 changed files with 133 additions and 0 deletions

11
core/assets/run.sh Executable file
View File

@@ -0,0 +1,11 @@
#! /bin/bash
# Check if the configuration file is present.
if [[ ! -e /opt/mailman/mailman.cfg ]]; then
echo "/opt/mailman/mailman.cfg configuration file not found..."
exit 1
fi
# Run mailman using the pidproxy command which spawns off mailman
# and forwards any signal you send it to the master runner in mailman.
/opt/pidproxy.py /opt/mailman/var/master.pid mailman -C /opt/mailman/mailman.cfg start