PHP Classes
elePHPant
Icontem

PHP Systemd Daemon Notify: Interact with Systemd Notification Deamon

Recommend this page to a friend!
  Info   View files Example   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-10-22 (29 days ago) RSS 2.0 feedNot enough user ratingsTotal: 136 This week: 5All time: 8,554 This week: 140Up
Version License PHP version Categories
systemd-notify 1.0.0GNU General Publi...7.1Unix, Systems administration, PHP 7
Description Author

This package allows PHP applications to interact with the Systemd Notification daemon.

It sends feedback to the Systemd daemon about the runtime status
of a service.

A service periodically sends watchdog (heartbeat) events to
Systemd's notification daemon. When the watchdog (heartbeat) events
stop, Systemd knows the service has a problem and can restart it.

This package provides classes to interact with the notification service by sending heartbeats.

Innovation Award
PHP Programming Innovation award nominee
October 2017
Nominee
Vote
Systemd Notification daemon.

It sends feedback to the Systemd daemon about the runtime status
of a service.

A service periodically sends watchdog (heartbeat) events to
Systemd's notification daemon. When the watchdog (heartbeat) events
stop, Systemd knows the service has a problem and can restart it.

This package provides classes to interact with the notification service by sending heartbeats.

Manuel Lemos
  Performance   Level  
Name: Andy Pieters <contact>
Classes: 1 package by
Country: United Kingdom United Kingdom
Age: 40
All time rank: 4025169 in United Kingdom United Kingdom
Week rank: 139 Up5 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 1x

Details
This package allows you to interact with the Systemd Notification
daemon.

It is meant to provide feedback to Systemd about the runtime status
of a service.

A service periodically sends watchdog (heartbeat) events to
Systemd's notification daemon. When the watchdog (heartbeat) events
stop, Systemd knows the service has a problem and can restart it.

Three classes are provided to interact with the notification service.

Notify is the general purpose implementation.
NotifyHeartbeat is ideal for applications that only send heartbeats
NotifyFluent has the same methods as Notify but all the setters are
fluent.

See the test-service.php, and test-service.service for examples
  Files folder image Files  
File Role Description
Files folder imagesrc (6 files)
Files folder imagetest (3 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file NotifierError.php Class Class source
  Plain text file Notify.php Class Class source
  Plain text file NotifyBase.php Class Class source
  Plain text file NotifyFluent.php Class Class source
  Plain text file NotifyHeartbeat.php Class Class source
  Plain text file SystemdNotifierInterface.php Class Class source

  Files folder image Files  /  test  
File Role Description
  Accessible without login Plain text file test-service.php Example Example script
  Accessible without login Plain text file test-service.service Data Auxiliary data
  Accessible without login Plain text file test.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:136
This week:5
All time:8,554
This week:140Up