| 1 |
# default: off |
| 2 |
# description: FirebirdSQL v4.0 |
| 3 |
# |
| 4 |
# firebird4.0-server can be run in three modes: |
| 5 |
# - superclassic -- a standalone daemon accepting tcp connections and |
| 6 |
# spawning a new thread for each connection. |
| 7 |
# Good: |
| 8 |
# + SMP scalability |
| 9 |
# + Fast IPC |
| 10 |
# Bad: |
| 11 |
# + No shared database cache |
| 12 |
# + A crash in a thread shuts down the whole server process |
| 13 |
# This is the default mode and is the one provided by the init.d script |
| 14 |
# - superserver -- a standalone daemon accepting tcp connections and |
| 15 |
# using a single thread for all of them |
| 16 |
# Good: |
| 17 |
# + Shared database cache |
| 18 |
# + Fast IPC |
| 19 |
# Bad: |
| 20 |
# + No SMP |
| 21 |
# + A crash in a thread shuts down the whole server process |
| 22 |
# - classicserver -- each connection starts a new process via the internet |
| 23 |
# super-server (inetd, xinetd or alike) |
| 24 |
# Good: |
| 25 |
# + SMP scalability |
| 26 |
# + A crash in a given process doesn't affect other connections |
| 27 |
# Bad: |
| 28 |
# + No shared database cache |
| 29 |
# + Slower IPC |
| 30 |
# |
| 31 |
# If you choose to enable this service, remember to disable the one provided by |
| 32 |
# inetd or the init.d script. The easiest way for the former is |
| 33 |
# update-inetd --disable gds_db |
| 34 |
# and dpkg-configure firebird4.0-server for the later. |
| 35 |
# |
| 36 |
service gds_db |
| 37 |
{ |
| 38 |
disable = yes |
| 39 |
flags = REUSE NODELAY |
| 40 |
socket_type = stream |
| 41 |
wait = no |
| 42 |
user = firebird |
| 43 |
# These lines cause problems with Windows XP SP2 clients |
| 44 |
# using default firewall configuration (SF#1065511) |
| 45 |
# log_on_success += USERID |
| 46 |
# log_on_failure += USERID |
| 47 |
server = /usr/sbin/firebird |
| 48 |
} |