archweb-mirrorcheck.service.j2 369 Bytes
Newer Older
1
2
3
#
# {{ ansible_managed }}
#
4
[Unit]
5
Description=archweb mirrorcheck service
6
7
8
9
10
11
After=network.target

[Service]
Type=oneshot
User=archweb
WorkingDirectory={{ archweb_dir }}
12
13
14
{% for location in archweb_mirrorcheck_locations %}
ExecStart={{ archweb_dir }}/env/bin/python manage.py mirrorcheck --location {{ location }}
{% endfor %}
15
16
17
18
Nice=5

[Install]
WantedBy=multi-user.target