1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/wkd/templates/update-wkd.service.j2
Florian Pritz 420d0717be
orion: Add gpg WKD directory for pacman
Maintain a web key directory with our gpg keys. The update script is run
automatically whenever the archlinux-keyring package on orion is
upgraded.

https://bugs.archlinux.org/task/63171

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-08-04 11:06:38 +02:00

22 lines
421 B
Django/Jinja

[Unit]
Description=Update GPG web key directory
[Service]
Type=oneshot
User={{ wkd_user }}
WorkingDirectory={{ wkd_dir }}
ExecStart=/usr/local/bin/update-wkd.sh "{{ wkd_dir }}/.well-known"
TimeoutStartSec=3600
NoNewPrivileges=yes
ProtectSystem=full
ProtectHome=true
PrivateTmp=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
[Install]
WantedBy=multi-user.target