Line
Link Here
|
0 |
-- /etc/init.d/virtlockd 2013-04-30 22:34:37.000000000 +0600 |
0 |
++ /tmp/virtlockd 2015-06-06 22:15:57.205227636 +0500 |
Lines 27-39
Link Here
|
27 |
. /etc/rc.d/init.d/functions |
27 |
. /etc/rc.d/init.d/functions |
28 |
|
28 |
|
29 |
SERVICE=virtlockd |
29 |
SERVICE=virtlockd |
30 |
PIDFILE=/var/run/libvirt/lockd/$SERVICE.pid |
30 |
PIDFILE=/var/run/libvirt/$SERVICE.pid |
31 |
LOCKFILE=/var/lock/subsys/$SERVICE |
31 |
LOCKFILE=/var/lock/subsys/$SERVICE |
32 |
|
32 |
|
33 |
VIRTLOCKD_ARGS= |
33 |
VIRTLOCKD_ARGS= |
34 |
|
34 |
|
35 |
test -f /etc/sysconfig/virtlockd && . /etc/sysconfig/virtlockd |
35 |
test -f /etc/sysconfig/virtlockd && . /etc/sysconfig/virtlockd |
36 |
|
36 |
|
|
|
37 |
echo $VIRTLOCKD_ARGS | grep -q "pid-file" || VIRTLOCKD_ARGS="$VIRTLOCKD_ARGS --pid-file $PIDFILE" |
37 |
RETVAL=0 |
38 |
RETVAL=0 |
38 |
|
39 |
|
39 |
start() { |
40 |
start() { |