mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
- fix crash when $wgFooterIcons.poweredby is no set - account for Extension:Renameuser being bundeled with 1.40 - enable the nosniff header for /images - switch to running maintenance scripts via run.php Signed-off-by: Christian Heusel <christian@heusel.eu>
22 lines
457 B
Django/Jinja
22 lines
457 B
Django/Jinja
[Unit]
|
|
Description=Archwiki Prune Cache Service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User={{ archwiki_user }}
|
|
WorkingDirectory={{ archwiki_dir }}
|
|
ExecStart=/usr/bin/php {{ archwiki_dir }}/public/maintenance/run.php pruneFileCache -q --agedays 1
|
|
|
|
NoNewPrivileges=yes
|
|
PrivateTmp=yes
|
|
PrivateDevices=yes
|
|
PrivateNetwork=true
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
ProtectControlGroups=yes
|
|
ProtectKernelModules=yes
|
|
ProtectKernelTunables=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|