And I have other question. Generally we wonder what will be better design
for monitoring systemd services
1.)
- add-match to ActiveState
- subscribe to systemd1.Manager
- then we have to start in separate thread some infinitive-loop with
sd_bus_wait()
and sd_bus_process() (*)
2.)
- asking for examp
Hi
I am in the middle of implementation monitor for getting states from
services. I have some question to my current implementation.
My current implementation is:
void main()
{
.
r = sd_bus_add_match(&bus,
NULL,
"type='signal',"
On Tue, Jan 16, 2018 at 1:52 PM, Tomasz Michalski
wrote:
> Hi
> I have a problem with call methods from terminal which take an argument,
> for example when I try to use this one:
> busctl call org.freedesktop.systemd1
> /org/freedesktop/systemd1/unit/syscom_2epath
> org.freedesktop.systemd1.Unit
El 09-01-2018 a las 5:35, 林自均 escribió:
Hi Zbyszek and Mantas,
I got it. Thank you for the detailed answers.
John Lin
Note that unless you have a kernel supported by a reliable distributor
you should not use anything older than what kernel.org tells you to.
You probably want instead to f
Hi
I have a problem with call methods from terminal which take an argument,
for example when I try to use this one:
busctl call org.freedesktop.systemd1
/org/freedesktop/systemd1/unit/syscom_2epath org.freedesktop.systemd1.Unit
Kill
I get output
Invalid arguments '' to call org.freedesktop.systemd1
On Mo, 15.01.18 18:44, Olaf Hering (o...@aepfle.de) wrote:
> I submitted a correct and tested patch via
> https://github.com/systemd/systemd/pull/7581, which was using
> sscanf("0028f0", "%x",&val). During discussion I was soft-forced to
> use systemd helper functions. These (strtoull based) helpe
On Mon, Jan 15, 2018 at 06:44:41PM +0100, Olaf Hering wrote:
> I submitted a correct and tested patch via
> https://github.com/systemd/systemd/pull/7581, which was using
> sscanf("0028f0", "%x",&val). During discussion I was soft-forced to use
> systemd helper functions. These (strtoull based) h