File: firebird3.0-server.xinetd

package info (click to toggle)
firebird3.0 3.0.1.32609.ds4-14
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 42,212 kB
  • ctags: 51,764
  • sloc: ansic: 374,352; cpp: 314,303; sql: 14,317; pascal: 13,800; yacc: 7,513; fortran: 5,645; sh: 5,149; makefile: 1,124; perl: 97; sed: 83; xml: 36; csh: 15; awk: 1
file content (48 lines) | stat: -rw-r--r-- 1,576 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# default: off
# description: FirebirdSQL v3.0
#
# firebird3.0-server can be run in three modes:
#  - superclassic -- a standalone daemon accepting tcp connections and
#    spawning a new thread for each connection.
#    Good:
#       + SMP scalability
#       + Fast IPC
#    Bad:
#       + No shared database cache
#       + A crash in a thread shuts down the whole server process
#    This is the default mode and is the one provided by the init.d script
#  - superserver -- a standalone daemon accepting tcp connections and
#    using a single thread for all of them
#    Good:
#       + Shared database cache
#       + Fast IPC
#    Bad:
#       + No SMP
#       + A crash in a thread shuts down the whole server process
#  - classicserver -- each connection starts a new process via the internet
#    super-server (inetd, xinetd or alike)
#    Good:
#       + SMP scalability
#       + A crash in a given process doesn't affect other connections
#    Bad:
#       + No shared database cache
#       + Slower IPC
#
# If you choose to enable this service, remember to disable the one provided by
# inetd or the init.d script. The easiest way for the former is
#   update-inetd --disable gds_db
# and dpkg-configure firebird3.0-server for the later.
#
service gds_db
{
	disable         	= yes
	flags			= REUSE NODELAY
	socket_type		= stream
	wait			= no
	user			= firebird
# These lines cause problems with Windows XP SP2 clients
# using default firewall configuration (SF#1065511)
#	log_on_success		+= USERID
#	log_on_failure 		+= USERID
	server			= /usr/sbin/fbirebird
}