~ivantis/armagetronad/sty+ct+ivantis

« back to all changes in this revision

Viewing changes to batch/rcd_server

  • Committer: ivantis
  • Date: 2008-09-09 21:33:18 UTC
  • Revision ID: ivantis@ivantis.net-20080909213318-k43y6yuq0zd6wbsa
first commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/bash
 
2
# armagetronad start script
 
3
 
 
4
# program installation directory
 
5
PROGDIR=@scriptdir_reloc@
 
6
 
 
7
# load configuration
 
8
. ${PROGDIR}/rcd_config
 
9
 
 
10
# files where PIDs are stored
 
11
STARTERPIDFILE=${PIDDIR}/armagetronad-dedicated-starter.pid
 
12
MAINPIDFILE=${PIDDIR}/armagetronad-dedicated.pid
 
13
 
 
14
# program to run
 
15
BINARY=serverstarter
 
16
BINFILE=${PROGDIR}/${BINARY}
 
17
TYPE=server
 
18
 
 
19
# log file
 
20
LOGFILE=${LOGDIR}/armagetronad.log
 
21
 
 
22
# delegate to common start/stop/status code
 
23
. ${RCDDIR}/rcd_startstop