seahawk1986 / lifeguard-ng

a replacement for vdr-addon-lifeguard, run it as a service, call it via dbus from everywhere without root permission

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lifeguard-ng

a replacement for vdr-addon-lifeguard, run it as a service (as root), call it via dbus from everywhere without need for root permissions

check-lifeguard

run check-lifeguard to ask lifeguard-ng wether a save shutdown is possible.

Example:

$ ./check-lifeguard
method return sender=:1.272 -> dest=:1.275 reply_serial=2
   boolean false
   string "SSH connection from ::ffff:192.168.1.132 active"
$ ./check-lifeguard
method return sender=:1.272 -> dest=:1.276 reply_serial=2
   boolean true
   string "shutdown possible"

About

a replacement for vdr-addon-lifeguard, run it as a service, call it via dbus from everywhere without root permission


Languages

Language:Python 98.2%Language:Shell 1.8%