[systemd-devel] Fwd: Stopping a service at a specific time or after a specific duration
Reindl Harald
h.reindl at thelounge.net
Mon Apr 25 16:53:03 UTC 2016
Am 22.04.2016 um 17:07 schrieb Reindl Harald:
> Am 22.04.2016 um 17:03 schrieb Lennart Poettering:
>> On Thu, 21.04.16 10:32, Reindl Harald (h.reindl at thelounge.net) wrote:
>>
>>>> Thanks. The man page says:
>>>>
>>>>> If this is used and the service has been active for longer than the
>>>>> specified
>>>>> time it is terminated and put into a failure state
>>>
>>> and i call that a design bug - why does it go into failure state?
>>
>> No need to warm up this discussion. And I think I said already that
>> I'd be happy to merge a patch that allows making the MaxRuntimeSec=
>> effect configurable, and optionally clean
>
> sorry for not beeing able to fix and change C/C++ code and only can
> state when things are not finally designed from start.....
and thinking again about "RuntimeMaxSec=" i don't get it's usecase
* Type=oneshot hat the "state failed" behavior already
with "TimeoutStartSec=" if it takes longer
* Type=simple/forking is not supposed to stop the main process
itself, otherwise it goes in failure state
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160425/c2afafc1/attachment.sig>
More information about the systemd-devel
mailing list