File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 88# services
99# processname: mad
1010# config: /opt/mad/config/config.conf
11- # pidfile: /var/run/mad/mad .pid
11+ # pidfile: /var/run/mad.pid
1212
1313# Source function library.
1414. /etc/rc.d/init.d/functions
@@ -18,7 +18,7 @@ prog="mad"
1818dir=" /opt/mad"
1919log_dir=" $dir /logs"
2020exec=" /opt/mad/bin/mad"
21- pid_file=" /var/run/mad/mad .pid"
21+ pid_file=" /var/run/mad.pid"
2222export CONFIG_FILE=" /opt/mad/config/config.conf"
2323export JAVA_HOME=" $( dirname $( dirname $( readlink -f $( which java) ) ) ) "
2424export JVM_XMS=" 64m"
@@ -48,7 +48,7 @@ if [ -z "$JAVA_OPTS" ]; then
4848 ${ADDITIONAL_JAVA_OPTS} "
4949fi
5050
51- lockfile=/var/lock/subsys/ $prog
51+ lockfile=/var/lock/$prog
5252
5353get_pid () {
5454 if [ -f " $pid_file " ]; then
You can’t perform that action at this time.
0 commit comments