3
# script to be put in /etc/rc.d to start @progtitle@ server process
4
# tested on Gentoo 2004.4
5
# Author: Manuel Moos <manuel@moosnet.de>
10
# program installation directory
11
PROGDIR=@scriptdir_reloc@
16
# files where PIDs are stored
17
STARTERPIDFILE=$PIDDIR/@progname@-masterstarter.pid
18
MAINPIDFILE=$PIDDIR/@progname@-master.pid
22
BINFILE=$PROGDIR/$BINARY
26
LOGFILE=$LOGDIR/@prognamebase@-master.log
28
# delegate to common start/stop/status code
29
. $RCDDIR/rcd_startstop