>>> Dejan Muhamedagic <deja...@fastmail.fm> schrieb am 21.11.2011 um 16:11 in Nachricht <20111121151134.GB3600@squib>:
[...] > This RA could certainly be improved. Patches welcome! OK, I tried a little, removing a lot. IMHO the new version is better than the previous one, but scores may vary. Anyway, you'll hate me for the patch format, but I have no mail where I develop, so I used just copy&paste... ---------snip-------just the header ------------ >From 2bfd79b8840fe260369773e217712934c605460d Mon Sep 17 00:00:00 2001 From: Ulrich Windl <ulrich.wi...@rz.uni-regensburg.de> Date: Tue, 22 Nov 2011 11:54:12 +0100 Subject: [PATCH] Reimplemented the service check and manipulation Removed most of the strange checking of the service, and use real checking of the "disable" directive in the service definition file. Now it's required to have a "disable=yes|no" in the service definition file. Improved descriptions in XML metadata. Improved log messages. Improved indentation. --- Xinetd | 472 ++++++++++++++-------------------------------------------------- 1 files changed, 101 insertions(+), 371 deletions(-) -----------------snip------------ Ulrich P.S: For those who don't know UNIX: It's uuencoded ;-) begin 644 0002-Reimplemented-the-service-check-and-manipulation.patch.gz M'XL(``J!RTX``\T[:5L;1Y.?-;^B/.A9#FET^<#!%C$!V=83+'@D2)P5&`]2 M2YJ7T8PRAS$+[&_?JNKN.70`3OQAB0-S=%?7?77/^\"?0N-R--S^Y?+UZQ>U MD6B\JCU_]<OV]G/1J&]OUQN_/'\Q>%5[^>)5;0B??`]Z8@;U;:C5=O@?-&JU MNO$>P>S`J1LX@PG\Z7A#%][*NPK?O>O^=^74<ZRN&`LOO(R#<>6@M6L<V)'8 M@9-8E*'1@([_#:'5ZU"O[[Q\L5-O0*E6K]6,7GSY'S&(=J!_O'>R__$<NL*9 MSEPQ%5XDAA!-!(0B^.8,!`PF8G`%MC>$J>TYL]BU(\?W#*,KIOXW'#OUPPC\ MD9P3!;8W5G,<;YP\E[#*#"8.!03"=HWY4>;0">U+5Y@P=`+$SODFP/%RR`S% MR/$<0@!&CBLJ1L>_!B=:#Q'BWS'.0MQ]F-@XTT[@-6]$>.?YYFI@A@1FM*>S M@(D:BG`0.#-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^R;ZBSQ%4';]$FIF=^^^Y+P_8%[(6*3^BL[FEA_)RKFR8YH%Z4NXT;`:F M="L/2"N%F7R5J"=E8<*C\H)E\H)$7O0YP(OM>KGQ&DJ-6D-]RZ1]14\(:I#P MGI^@8\-8_@CZ%&#>`_"JRGS5M31?ODE,E6JR9!1=ZD'^+!FC2K9-[4X3<%C: MJ8%\E8=+Y5VZ/M\D".!=,E)5@-I1Z;OL6-B%I.F5S,M6C&IR_I&$D*T3,PY* M3MA:[=-(,J>=]J?CP]:G5N<$@XJNSI4S^-6PL/:I5UY5:I6&8?P?7[%+QPD\ "```` ` end _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems