C API for service management

2016-01-19 Thread Jan Olszak
Hi! I'm developing a daemon that will: - start/stop - send signals - check status of some services. This can be done via s6-svc or s6-svstat but: 1. Can I use the underlying calls from libs6? 2. Is this interface likely to change? Thanks, Jan

Re: C API for service management

2016-01-19 Thread Laurent Bercot
On 19/01/2016 18:44, Jan Olszak wrote: Hi! I'm developing a daemon that will: - start/stop - send signals - check status of some services. This can be done via s6-svc or s6-svstat but: 1. Can I use the underlying calls from libs6? 2. Is this interface likely to change? If you mean send

Re: C API for service management

2016-01-19 Thread Steve Litt
On Tue, 19 Jan 2016 18:44:54 +0100 Jan Olszak wrote: > Hi! > I'm developing a daemon that will: > - start/stop > - send signals > - check status > of some services. > > This can be done via s6-svc or s6-svstat but: > 1. Can I use the underlying calls from libs6? > 2.