mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
Patchwork can optionally send patch notifications. Create a service for running the cron patchwork command.
13 lines
245 B
Django/Jinja
13 lines
245 B
Django/Jinja
[Unit]
|
|
Description=Patchwork notification service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=patchwork
|
|
WorkingDirectory={{ patchwork_dir }}
|
|
ExecStart={{ patchwork_dir }}/env/bin/python manage.py cron
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|