mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
20 lines
419 B
Django/Jinja
20 lines
419 B
Django/Jinja
[Unit]
|
|
Description=Archwiki runJobs Wait Service
|
|
After=mysqld.service
|
|
|
|
[Service]
|
|
User={{ archwiki_user }}
|
|
WorkingDirectory={{ archwiki_dir }}
|
|
ExecStart=/usr/bin/php {{ archwiki_dir }}/public/maintenance/runJobs.php -q --wait
|
|
Restart=on-failure
|
|
|
|
NoNewPrivileges=true
|
|
ProtectHome=true
|
|
ProtectSystem=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectControlGroups=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|