| 1 | [Unit] |
| 2 | Description=MediaWiki job runner |
| 3 | Documentation=https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:RunJobs.php |
| 4 | |
| 5 | [Service] |
| 6 | User=www-data |
| 7 | Group=www-data |
| 8 | ExecStart=/usr/bin/php /var/lib/mediawiki/maintenance/runJobs.php --wait --maxjobs=50 |
| 9 | Restart=always |
| 10 | RestartSec=15 |
| 11 | RuntimeMaxSec=300 |
| 12 | PrivateDevices=true |
| 13 | PrivateTmp=true |
| 14 | ProtectHome=read-only |
| 15 | |
| 16 | [Install] |
| 17 | WantedBy=multi-user.target |
| 18 |