dataset/seed/mailman/templates/mailman3.service

10 lines
339 B
Desktop File

[Unit]
After=risotto.target
[Service]
{% for domain in general.mailman.mailman_domains %}
{% set key = domain|normalize_family %}
{% for name in mailman['list_' + key]['name_' + key] %}
ExecStartPre=-/usr/bin/mailman create --language fr -o {{ general.mailman.mailman_mail_owner }} -N -d {{ name }}@{{ domain }}
{% endfor %}
{% endfor %}