[pve-devel] systemd notify/watchdog

Alexandre DERUMIER aderumier at odiso.com
Wed Mar 4 18:18:16 CET 2015


>>I don't have found anything... :( 

Isn't it possible with perl XS, to create a perl module which use the systemd c++ class ?

I found a php/hhvm module which is doing something like this
https://github.com/shish/hhvm-sd-notify/blob/master/sd_notify.cpp

also here a perl implementation for systemd journal

http://cpansearch.perl.org/src/IOANR/Linux-Systemd-Journal-0.001/lib/Linux/Systemd/Journal/Write.xs


----- Mail original -----
De: "aderumier" <aderumier at odiso.com>
À: "dietmar" <dietmar at proxmox.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Mercredi 4 Mars 2015 17:20:23
Objet: Re: [pve-devel] systemd notify/watchdog

>>Are there really no perl bindings for systemd? 

I don't have found anything... :( 


----- Mail original ----- 
De: "dietmar" <dietmar at proxmox.com> 
À: "aderumier" <aderumier at odiso.com> 
Cc: "pve-devel" <pve-devel at pve.proxmox.com> 
Envoyé: Mercredi 4 Mars 2015 15:51:33 
Objet: Re: [pve-devel] systemd notify/watchdog 

OK, so that seems to be something different, so we can us it. 

> (We need to implemented in perl sd_notify to tell to systemd at regular 
> interval that the service is running) 

Are there really no perl bindings for systemd? 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list