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 8
8
# services
9
9
# processname: mad
10
10
# config: /opt/mad/config/config.conf
11
- # pidfile: /var/run/mad/mad .pid
11
+ # pidfile: /var/run/mad.pid
12
12
13
13
# Source function library.
14
14
. /etc/rc.d/init.d/functions
@@ -18,7 +18,7 @@ prog="mad"
18
18
dir=" /opt/mad"
19
19
log_dir=" $dir /logs"
20
20
exec=" /opt/mad/bin/mad"
21
- pid_file=" /var/run/mad/mad .pid"
21
+ pid_file=" /var/run/mad.pid"
22
22
export CONFIG_FILE=" /opt/mad/config/config.conf"
23
23
export JAVA_HOME=" $( dirname $( dirname $( readlink -f $( which java) ) ) ) "
24
24
export JVM_XMS=" 64m"
@@ -48,7 +48,7 @@ if [ -z "$JAVA_OPTS" ]; then
48
48
${ADDITIONAL_JAVA_OPTS} "
49
49
fi
50
50
51
- lockfile=/var/lock/subsys/ $prog
51
+ lockfile=/var/lock/$prog
52
52
53
53
get_pid () {
54
54
if [ -f " $pid_file " ]; then
You can’t perform that action at this time.
0 commit comments