maslosoft / services
Server Services Status Checker
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:project
Requires
- ext-json: *
This package is auto-updated.
Last update: 2024-10-29 05:22:39 UTC
README
Server Services Status Checker
Installing
Installing with git will pull latest development version
git clone https://github.com/Maslosoft/Services.git
Or by composer to install stable version
composer create-project maslosoft/services
Configuring
Edit file services.json
. This file contans simple JSON structure containing
service names as keys and whether to check as values.
For example to check mysql
and amavis
this file should have following content:
{ "amavis": true, "mysql": true }
Quick Start
Navigate to folder containing this project and start PHP server:
php -S localhost:8080
Now navigate to http://localhost:8080 You should no see list of running
services according to services.json
config. The output format is also JSON
similar to configuration file. The values indicate whether the service is running.