pmvc-plugin/supervisor

supervisor for daemon, service, etc...

0.8.3 2021-04-06 21:34 UTC

This package is auto-updated.

Last update: 2021-11-06 23:03:11 UTC


README

Latest Stable Version Latest Unstable Version Build Status License Total Downloads

Supervisor

Daemon

if run with Daemon mode and code not exit with 1, Supervisor will auto restore Daemon, this will not effect script mode

How to use?

https://github.com/pmvc-plugin/supervisor/blob/master/demos/demo.php

Install with Composer

1. Download composer

2. Install by composer.json or use command-line directly

2.1 Install by composer.json

  • vim composer.json
{
    "require": {
        "pmvc-plugin/supervisor": "dev-master"
    }
}
  • php composer.phar install

2.2 Or use composer command-line

  • php composer.phar require pmvc-plugin/supervisor