Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.
mekrasPublic archive

About

Object-oriented PHP interface to systemd

Resources

Stars

8 stars

Watchers

2 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

php-systemd

Object-oriented interface to systemd.

Latest Stable Version License Build Status Coverage Status

Maintenance status

This project is no longer maintained and is archived for historical reference. No further updates or fixes, including security fixes, are planned. Compatibility with current PHP and systemd versions has not been verified. The documentation and examples below describe the historical version.

Watchdog

systemd watchdog restarts frozen service.

use Mekras\SystemD\SystemD;

$systemd = new SystemD();
$keepAlive = $systemd->watchdog()->isEnabled();

//...

while (true) {
    if ($keepAlive) {
        $systemd->watchdog()->ping();
    }
    //...
}

About

Object-oriented PHP interface to systemd

Resources

Stars

8 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages