Giter VIP home page Giter VIP logo

systemdphp-mq's Introduction

LISTENER ON SYSTEMD FOR PHP - IBM MQ SERIES

This program create and register a listener on systemd for integration between PHP and IBM MQ product. It should be keep in mind that the extension mqseries for PHP must be install before.

Files Structure

  • environment Contains files with vars environment
  • test Contains files php for testing
  • units Contains files for each service/daemon listener to register on systemd
  • conf_check Shell Script that check config of service/daemon listener
  • phpmqctl Shell Script that control the action start|stop of service/daemon listener

Instructions

  1. Configure the paths, vars and your structure according to the system.
  2. Copy unit file to path /etc/systemd/system for register the new service/daemon.
  3. Execute sudo systemctl daemon-reload for reload the services list.
  4. Execute sudo systemctl list-unit-files for search your new service/daemon registered.
  5. Execute sudo systemctl start apptrs-notificaciones.service for start the listener. Only if you have seen the service/daemon registered.
  6. Execute sudo systemctl status apptrs-notificaciones.service for get more details about the status and logging of listener.
  7. Execute sudo systemctl stop apptrs-notificaciones.service for stop the listener.
  8. Execute sudo systemctl enable apptrs-notificaciones for register the listener to automatic start with OS. This command is optional according you need.

systemdphp-mq's People

Contributors

sadalmelik828 avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.