1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-04 13:36:05 +02:00
infrastructure/roles/patchwork/templates/patchwork-notification.serv...
Giancarlo Razzolini 701de3720a
roles/patchwork: Add a systemd service for running patchwork notifications
Patchwork can optionally send patch notifications. Create a service for
running the cron patchwork command.
2017-08-23 11:03:04 -03:00

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