1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/archwiki/templates/archwiki-runjobs.service.j2
Jakub Klinkovský caac991604
archwiki: remove useless [Install] section from systemd service
archwiki-runjobs.service is one-shot and timer-activated, it is not
supposed to be enabled.
2020-09-05 21:27:20 +02:00

16 lines
342 B
Django/Jinja

[Unit]
Description=Archwiki runJobs Service
[Service]
Type=oneshot
User={{ archwiki_user }}
WorkingDirectory={{ archwiki_dir }}
ExecStart=/usr/bin/php {{ archwiki_dir }}/public/maintenance/runJobs.php -q
NoNewPrivileges=true
ProtectHome=true
ProtectSystem=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true