Hi!

Am 10.09.2015 um 15:43 schrieb Dhionel Díaz:
> El 09/09/15 a las 21:26, Felipe Sateler escribió:
>> On 9 September 2015 at 20:46, Dhionel Díaz <dd...@cenditel.gob.ve> wrote:

>>> As an alternative, ¿do you think it would be appropriate to include a
>>> sd_notify call in xorp_rtrmgr main process and then use Type=notify?
>>
>> That would be even better. The problem with Type=simple (the default
>> if no type is specified) is that systemd automatically assumes the
>> service started up correctly. Which can be confusing if eg, the config
>> is wrong: systemd would start the service, then the service would
>> immediately fail. Much better is for systemd to know the service never
>> started up correctly and let you know that.
> 
> 
> OK, I'll prepare a patch. At first sight, it seems it would be a small one.

Just in case you want to read a bit more about why Type=simple can lead
to unwanted/unexpected behaviour, see [1], especially Russ' reply [2].

Adding support for sd_notify is usually very simple. See [3] as an
example. The most effort in this patch was actually to get the build
system updated, since the openssh configure.ac is a bit odd.

Cheers,
Michael

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778913
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778913#30
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778913#67
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-systemd-maintainers mailing list
Pkg-systemd-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to