mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-05-04 13:36:05 +02:00
701de3720a
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
|