Files
infrastructure/roles/archweb/templates/archweb-pgp_import.service.j2

12 lines
234 B
Django/Jinja

[Unit]
Description=archweb pgp_import
[Service]
Type=oneshot
User=archweb
WorkingDirectory={{ archweb_dir }}
ExecStart={{ archweb_dir }}/env/bin/python manage.py pgp_import {{ archweb_keyring }}
[Install]
WantedBy=multi-user.target