Re: [systemd-devel] need help implementing a special behaviour

2014-07-08 Thread Andrey Borzenkov
В Tue, 8 Jul 2014 14:22:01 +0200 Lennart Poettering пишет: > > > > There is one more open question. We did not found a *clear* definition > > (e.g. a state diagram) of all the states a unit can have. > > Yeah, I tried to avoid documenting this in too much detail, since we > wanted to have the f

Re: [systemd-devel] need help implementing a special behaviour

2014-07-08 Thread Andrey Borzenkov
В Tue, 08 Jul 2014 14:37:19 +0200 Steffen Sledz пишет: > On 08.07.2014 14:22, Lennart Poettering wrote: > > On Tue, 08.07.14 14:11, Steffen Sledz ([email protected]) wrote: > >> There is one more open question. We did not found a *clear* definition > >> (e.g. a state diagram) of all the state

Re: [systemd-devel] need help implementing a special behaviour

2014-07-08 Thread Steffen Sledz
On 08.07.2014 14:22, Lennart Poettering wrote: > On Tue, 08.07.14 14:11, Steffen Sledz ([email protected]) wrote: >> There is one more open question. We did not found a *clear* definition >> (e.g. a state diagram) of all the states a unit can have. > > Yeah, I tried to avoid documenting this i

Re: [systemd-devel] need help implementing a special behaviour

2014-07-08 Thread Lennart Poettering
On Tue, 08.07.14 14:11, Steffen Sledz ([email protected]) wrote: > > On 08.07.2014 13:53, Lennart Poettering wrote: > > On Tue, 23.07.13 08:05, Steffen Sledz ([email protected]) wrote: > >> ... > >> But we found no way to guarantee that *all* services of the formerly > >> active operatio

Re: [systemd-devel] need help implementing a special behaviour

2014-07-08 Thread Steffen Sledz
On 08.07.2014 13:53, Lennart Poettering wrote: > On Tue, 23.07.13 08:05, Steffen Sledz ([email protected]) wrote: >> ... >> But we found no way to guarantee that *all* services of the formerly >> active operation mode (except the ones which should run in the new >> mode too) are *completely te

Re: [systemd-devel] need help implementing a special behaviour

2014-07-08 Thread Lennart Poettering
On Tue, 23.07.13 08:05, Steffen Sledz ([email protected]) wrote: > We like to implement the following behaviour using systemd. > > We have some exclusive so called operating modes. Each modes has a few > associated services which should run in this mode. Yeah, this should work. You should be

[systemd-devel] need help implementing a special behaviour

2014-07-08 Thread Steffen Sledz
We like to implement the following behaviour using systemd. We have some exclusive so called operating modes. Each modes has a few associated services which should run in this mode. Our idea is to define some conflicting targets representing the operation modes. But we found no way to guarantee