File disable-xinetd-service-by-default.patch of Package firebird

From: Michal Kubecek <mkubecek@suse.cz>
Date: Tue, 12 Jun 2012 14:09:14 +0200
Subject: disable xinetd service by default

In default xinetd service file, disable the service by default.
Also start the server as user firebird, not root.
---
 builds/install/arch-specific/linux/firebird.xinetd.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/builds/install/arch-specific/linux/firebird.xinetd.in b/builds/install/arch-specific/linux/firebird.xinetd.in
index 3f3c46819cb0..aca87f8fc19f 100644
--- a/builds/install/arch-specific/linux/firebird.xinetd.in
+++ b/builds/install/arch-specific/linux/firebird.xinetd.in
@@ -7,11 +7,12 @@
 
 service @FB_SERVICE_NAME@
 {
-	disable = no
+	disable		= yes
 	flags		= REUSE
+	protocol	= tcp
 	socket_type	= stream
 	wait		= no
-	user		= root
+	user		= firebird
 # These lines cause problems with Windows XP SP2 clients
 # using default firewall configuration (SF#1065511)
 #	log_on_success	+= USERID
-- 
2.8.1

openSUSE Build Service is sponsored by