-
Notifications
You must be signed in to change notification settings - Fork 2
/
etc_default_ircddbd
47 lines (37 loc) · 1.46 KB
/
etc_default_ircddbd
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
#
#
# ircddbd daemon
#
# Copyright (C) 2010 Michael Dirska, DL1BFF ([email protected])
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
URL=http://group1-update.ircddb.net/ircDDB
FILE1=app2.jar
FILE2=ircDDB2.jar
VARDIR=/var/cache/ircddbd
PGSQL=/opt/products/dstar/apache-tomcat-5.5.20/common/lib/postgresql-8.2-504.jdbc3.jar
EXECBIN=/opt/products/dstar/jdk1.5.0_09/bin/java
ARG1="-Djava.security.manager"
ARG2="-Djava.security.policy=ircDDB.policy"
ARG3="-cp"
ARG4="$VARDIR/$FILE1:$VARDIR/$FILE2:$PGSQL"
ARG5="net.ircDDB.IRCDDBApp"
export FILE1 FILE2 VARDIR EXECBIN ARG1 ARG2 ARG3 ARG4 ARG5 URL
WORKINGDIR=/etc/ircddbd
LOGDIR=/var/log/ircddbd
DAEMON_ENV="URL=$URL FILE1=$FILE1 FILE2=$FILE2 VARDIR=$VARDIR"
DAEMON_ENV="$DAEMON_ENV EXECBIN=$EXECBIN ARG1=$ARG1 ARG2=$ARG2"
DAEMON_ENV="$DAEMON_ENV ARG3=$ARG3 ARG4=$ARG4 ARG5=$ARG5"
DAEMON_ARGS="$PIDFILE $WORKINGDIR $LOGDIR/stdout.log $LOGDIR/stderr.log"