Commit 5786a70d authored by ale's avatar ale
Browse files

Add /config support

parent 236c0407
......@@ -9,4 +9,5 @@ The /data volume should be mounted externally (with the appropriate
permissions) and it will be used to store lists, archives and all
the other Mailman runtime data.
The /config volume should also be mounted externally, and it should
contain the ** and the rest of the configuration files.
......@@ -73,6 +73,14 @@ for d in $mailman_data_subdirs ; do
ln -sf /data/$d /var/lib/mailman/$d
# Since Mailman installs stuff in /etc/mailman too, we do the same trick
# as above but with the /config mountpoint.
mkdir -p /config
rm -f /etc/mailman/
for f in mailman_api.conf forced_params ; do
ln -s /config/$f /etc/mailman/$f
# Create directory for PID file.
mkdir /var/run/mailman
chmod 1777 /var/run/mailman
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment