Commit 8d71c416 authored by ale's avatar ale
Browse files

Add python-mailman-api

parent 1b1b1a0f
......@@ -12,6 +12,9 @@ BUILD_PACKAGES="rsync"
PACKAGES="
mailman
locales
python-pip
python-flask
ai-sso-python
"
# Apache modules to enable.
......@@ -72,6 +75,10 @@ chmod 1777 /var/run/mailman
# Create empty dir for webroot.
mkdir /var/empty
# Install python-mailman-api.
(cd /tmp ; pip install
'git+https://git.autistici.org/ai3/python-mailman.git#egg=mailman_api')
# Remove packages used for installation.
apt-get remove -y --purge ${BUILD_PACKAGES}
apt-get autoremove -y
......
api.service: {
command: "/bin/sh -c '/usr/local/bin/python-mailman-api --port ${API_PORT:-3606}'",
}
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