https://github.com/php/systems
Hooks and Cronjobs for PHP Infrastructure
https://github.com/php/systems
Last synced: about 1 year ago
JSON representation
Hooks and Cronjobs for PHP Infrastructure
- Host: GitHub
- URL: https://github.com/php/systems
- Owner: php
- Created: 2011-12-28T19:07:53.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2025-03-28T16:04:51.000Z (about 1 year ago)
- Last Synced: 2025-03-30T10:08:43.814Z (about 1 year ago)
- Language: Shell
- Homepage: http://php.net
- Size: 589 KB
- Stars: 51
- Watchers: 11
- Forks: 32
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repository holds configuration files and documentation about the systems
used for the PHP.net infrastructure.
These systems are maintained collectively by the subscribers to the systems@php.net
mailing list.
This repository is available in `/local/systems` on each physical/virtual host
(aka *boxen*). Most major packages (Apache, MariaDB, Postfix, etc) needed by
services on that boxen are installed using distribution packages.
## Boxen configuration
All[^wip] hosts use `cron-box-crontab` as the crontab for the root user,
which is configured to run tasks every five minutes, hourly, daily, weekly,
and monthly. The configuration for each boxen can be found in the file
`boxen/$(hostname)`.
Configuration for the services on all[^wip] hosts is stored in a directory
in this repository named `$(hostname)`, and a script called
`$(hostname)/install-config.sh` will symlink them into place and restart the
appropriate services.
The standard `cron-box` setup will alert systems@php.net when errors are
encountered.
## Tasks
All of the jobs run through cron are stored in this repository, mostly as
shell scripts, and they are currently all located in the top level.
## Secrets
Secrets, tokens, and other configuration may be stored in `/local/this-box` on
the individual boxen, in which case the `backup-thisbox` task should be
included in the daily `cron-box` tasks for that boxen.
[^wip]: Once they've all been configured, which is a work in progress right now.