2017 © Pedro Peláez
 

symfony-bundle upstart_monitor

Symfony based web UI for sfnix/upstart bundle. (Painless Upstart configuration. It helps to make any script run forever in background on Linux.)

image

sfnix/upstart_monitor

Symfony based web UI for sfnix/upstart bundle. (Painless Upstart configuration. It helps to make any script run forever in background on Linux.)

  • Saturday, March 3, 2018
  • by tarasbogach
  • Repository
  • 1 Watchers
  • 0 Stars
  • 40 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

UpstartMonitorBundle

Symfony based web UI for sfnix/upstart bundle. It helps to make any symfony command (or any other script) run forever in background and restart on fails., (*1)

Installation

Require the bundle and its dependencies with composer:, (*2)

$ composer require sfnix/upstart_monitor

Check for openssl (recommended) or mcrypt PHP extension., (*3)

$ php -i | grep -e "openssl" -e "mcrypt"

Register the bundle:, (*4)

// app/AppKernel.php

public function registerBundles()
{
    //...
    $bundles = [
        //...
        new SfNix\UpstartBundle\UpstartBundle(),
        new SfNix\UpstartMonitorBundle\UpstartMonitorBundle(),
    ];
    //...
}

```yml, (*5)

app/config/routing.yml

upstart_monitor: resource: "@UpstartMonitorBundle/Resources/config/routing.yml" prefix: /upstart, (*6)

```yml
# app/config/security.yml
security:
    #...
    access_control:
        upstart: { path: ^/upstart, roles: ROLE_ADMIN }

```yml, (*7)

app/config/config.yml

imports: # ... - { resource: upstart.yml }, (*8)

```yml
# app/config/upstart.yml
upstart_monitor:
    #WebSocket server to start.
    server:
      host: 0.0.0.0
      port: 13000
    #WebSocket client.
    client:
      schema: 'ws'
      port: 13000
      path: /
upstart:
    #...
    job:
        monitor:
            command: upstart:monitor
            verbose: 1
            native: {respawn: true, setuid: root, manual: true}
        #...

See sfnix/upstart for upstart configuration., (*9)

$ ./app/console upstart:install
$ ./app/console upstart:start monitor

You can go to http://{your.domain}/upstart, (*10)

Warning

UpstartMonitorBundle upstart:monitor command must run with superuser rights to be able to start/stop jobs, so please, be careful! UpstartMonitorBundle comes with ABSOLUTELY NO WARRANTY, use it at your own risk., (*11)

The Versions

03/03 2018

dev-master

9999999-dev https://github.com/tarasbogach/UpstartBundleMonitor

Symfony based web UI for sfnix/upstart bundle. (Painless Upstart configuration. It helps to make any script run forever in background on Linux.)

  Sources   Download

GPL GPL-2.0-or-later

The Requires

 

by Taras Bogach

service ui bundle symfony background utils monitor linux upstart

03/03 2018

1.0.5

1.0.5.0 https://github.com/tarasbogach/UpstartBundleMonitor

Symfony based web UI for sfnix/upstart bundle. (Painless Upstart configuration. It helps to make any script run forever in background on Linux.)

  Sources   Download

GPL-2.0-or-later

The Requires

 

by Taras Bogach

service ui bundle symfony background utils monitor linux upstart

15/01 2017

1.0.4

1.0.4.0 https://github.com/tarasbogach/UpstartBundleMonitor

Symfony based web UI for sfnix/upstart bundle. (Painless Upstart configuration. It helps to make any script run forever in background on Linux.)

  Sources   Download

GPL

The Requires

 

by Taras Bogach

service ui bundle symfony background utils monitor linux upstart

16/03 2016

1.0.3

1.0.3.0 https://github.com/tarasbogach/UpstartBundleMonitor

Symfony based web UI for sfnix/upstart bundle. (Painless Upstart configuration. It helps to make any script run forever in background on Linux.)

  Sources   Download

GPL

The Requires

 

by Taras Bogach

service ui bundle symfony background utils monitor linux upstart

13/03 2016

1.0.2

1.0.2.0 https://github.com/tarasbogach/UpstartBundleMonitor

Symfony based web UI for sfnix/upstart bundle. (Painless Upstart configuration. It helps to make any script run forever in background on Linux.)

  Sources   Download

GPL

The Requires

 

by Taras Bogach

service ui bundle symfony background utils monitor linux upstart

13/03 2016

1.0.1

1.0.1.0 https://github.com/tarasbogach/UpstartBundleMonitor

Symfony based web UI for sfnix/upstart bundle. (Painless Upstart configuration. It helps to make any script run forever in background on Linux.)

  Sources   Download

GPL

The Requires

 

by Taras Bogach

service ui bundle symfony background utils monitor linux upstart

13/03 2016

1.0.0

1.0.0.0 https://github.com/tarasbogach/UpstartBundleMonitor

Symfony based web UI for sfnix/upstart bundle. (Painless Upstart configuration. It helps to make any script run forever in background on Linux.)

  Sources   Download

GPL

The Requires

 

by Taras Bogach

service ui bundle symfony background utils monitor linux upstart

13/03 2016

0.0.1

0.0.1.0 https://github.com/tarasbogach/UpstartBundleMonitor

Symfony based web UI for sfnix/upstart bundle. (Painless Upstart configuration. It helps to make any script run forever in background on Linux.)

  Sources   Download

GPL

The Requires

 

by Taras Bogach

service ui bundle symfony background utils monitor linux upstart