mailman-sync/systemd/mailman_sync.service

15 lines
450 B
SYSTEMD
Raw Normal View History

2023-01-05 21:51:55 -05:00
[Unit]
2023-09-01 23:33:08 -04:00
Description=Synchronize Mailman lists with CMSManage API
2023-01-05 21:51:55 -05:00
[Service]
User=mailman
Group=mailman
Type=oneshot
TimeoutStartSec=600
EnvironmentFile=/opt/mailman-sync/env
2023-09-01 23:33:08 -04:00
ExecStart=/usr/bin/python3 /opt/mailman-sync/mailman_sync.py \
--api https://paperwork.claremontmakerspace.org/api/v1/paperwork/department/mailing_lists.json \
--mail-host claremontmakerspace.org \
--mailman-url http://localhost:8001 \
--mailman-user restadmin