Project

General

Profile

« Previous | Next » 

Revision 9ae38130

Added by Andreas Kohlbecker almost 13 years ago

comments and configuration

View differences:

src/main/installer/linux/cdmserver
25 25
# install init script:		update-rc.d cdmserver defaults
26 26
# uninstall init script:	update-rc.d -f cdmserver remove
27 27

  
28
# PATH should only include /usr/* if it runs after the mountnfs.sh script
29
PATH=/usr/sbin:/usr/bin:/sbin:/bin
28

  
29
######################################################################
30
# Start of variables that can be overwritten in /etc/default/cdmserver
31

  
30 32
NAME=cdmserver
31 33
DESC="CDM Server"
32 34
CDM_HOME=/opt/cdmserver
......
45 47
JSVC_CLASSPATH="/usr/share/java/commons-daemon.jar:${JAVA_HOME}lib/tools.jar:$CDM_HOME/cdm-server.jar"
46 48
JSVC_JVM="server"
47 49

  
50
# PATH should only include /usr/* if it runs after the mountnfs.sh script
51
PATH=/usr/sbin:/usr/bin:/sbin:/bin
52

  
48 53
# Define other required variables
49 54
PIDFILE=/var/run/$NAME.pid
50 55
SCRIPTNAME=/etc/init.d/$NAME
......
69 74
	  /usr/lib/kaffe/ \
70 75
	 "
71 76

  
72
# End of variables that can be overwritten in /etc/default/jetty
77
# End of variables that can be overwritten in /etc/default/cdmserver
78
######################################################################
73 79

  
74 80
if [ `id -u` -ne 0 ]; then
75 81
	echo "You need root privileges to run this script"

Also available in: Unified diff