mailman-sync/systemd/mailman_sync.service

14 lines
446 B
Desktop File

[Unit]
Description=Synchronize Mailman lists to CMSManage API
[Service]
User=mailman
Group=mailman
Type=oneshot
TimeoutStartSec=600
EnvironmentFile=/opt/mailman-sync/env
ExecStart=/usr/bin/python3.9 /opt/mailman-sync/mailman_sync.py \
--bin /usr/local/cpanel/3rdparty/mailman/bin/ \
--api https://paperwork.claremontmakerspace.org/api/v1/paperwork/certification_definition/mailing_lists.json \
--list-suffix _claremontmakerspace.org