blob: 14991ed5f5d5663a9bf83d271c4c48870d7b62aa (
plain)
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
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/files/firebird.init.d,v 1.1.1.1 2005/11/30 10:11:26 chriswhite Exp $
# NOTE: make sure you have localhost in your hosts.equiv file see next 2
# lines for example of hosts.equiv contents
#localhost.localdomain
#localhost
export FIREBIRD
export ISC_USER
export ISC_PASSWORD
export FBRunUser
MANAGER=$FIREBIRD/bin/fbmgr.bin
depend() {
need net
}
start(){
ebegin "Starting Firebird server"
su $FBRunUser -c "${MANAGER} -start -forever"
eend $?
}
stop(){
ebegin "Stopping Firebird server"
$MANAGER -shut
eend $?
}
|