File disable-xinetd-service-by-default.patch of Package firebird
From: Michal Kubecek <mkubecek@suse.cz>
Date: Sun, 3 Jun 2012 15:24:13 +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/misc/firebird.xinetd.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/builds/install/arch-specific/linux/misc/firebird.xinetd.in b/builds/install/arch-specific/linux/misc/firebird.xinetd.in
index 14f50ce..6e7c887 100644
--- a/builds/install/arch-specific/linux/misc/firebird.xinetd.in
+++ b/builds/install/arch-specific/linux/misc/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
--
1.8.4.5