Files
infrastructure/roles/archweb/templates/archweb-populate_signoffs.service.j2
Evangelos Foutras 7d5dee0a88 Add Wants=network-online.target to a few services
After=network-online.target is likely insufficient by itself.

Fixes: 104d08a1db ("archweb: Put most services after network-online.target")
Fixes: c844d0cb6c ("Split storage box monitoring into new text collector")
2021-08-28 14:42:41 +03:00

14 lines
294 B
Django/Jinja

[Unit]
Description=archweb populate_signoffs service
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
User=archweb
WorkingDirectory={{ archweb_dir }}
ExecStart={{ archweb_dir }}/env/bin/python manage.py populate_signoffs -v0
[Install]
WantedBy=multi-user.target