1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/archweb/templates/archweb-readlinks.service.j2
Evangelos Foutras 7d5dee0a88
Add Wants=network-online.target to a few services
After=network-online.target is likely insufficient by itself.

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

15 lines
312 B
Django/Jinja

[Unit]
Description=archweb read links databases (for sonames)
Wants=network-online.target
After=network-online.target
[Service]
User=archweb
WorkingDirectory={{ archweb_dir }}
ExecStart={{ archweb_dir }}/env/bin/python manage.py readlinks_inotify
Restart=on-failure
Nice=5
[Install]
WantedBy=multi-user.target