15 lines
450 B
Desktop File
15 lines
450 B
Desktop File
[Unit]
|
|
Description=Synchronize Mailman lists with CMSManage API
|
|
|
|
[Service]
|
|
User=mailman
|
|
Group=mailman
|
|
Type=oneshot
|
|
TimeoutStartSec=600
|
|
EnvironmentFile=/opt/mailman-sync/env
|
|
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
|