xorp service file

Michael Biebl biebl at debian.org
Thu Sep 10 17:11:47 BST 2015


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 <ddiaz at 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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150910/a32157e0/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list