Lines 8-14
Link Here
|
8 |
|
8 |
|
9 |
start() { |
9 |
start() { |
10 |
ebegin "Starting ${SVCNAME}" |
10 |
ebegin "Starting ${SVCNAME}" |
11 |
start-stop-daemon --start --exec /sbin/dhcdbd \ |
11 |
start-stop-daemon --start --exec /usr/sbin/dhcdbd \ |
12 |
--pidfile /var/run/dhcdbd.pid \ |
12 |
--pidfile /var/run/dhcdbd.pid \ |
13 |
-- ${DHCDBD_ARGS} |
13 |
-- ${DHCDBD_ARGS} |
14 |
eend $? |
14 |
eend $? |
Lines 16-22
Link Here
|
16 |
|
16 |
|
17 |
stop() { |
17 |
stop() { |
18 |
ebegin "Stopping ${SVCNAME}" |
18 |
ebegin "Stopping ${SVCNAME}" |
19 |
start-stop-daemon --stop --exec /sbin/dhcdbd \ |
19 |
start-stop-daemon --stop --exec /usr/sbin/dhcdbd \ |
20 |
--pidfile /var/run/dhcdbd.pid |
20 |
--pidfile /var/run/dhcdbd.pid |
21 |
eend $? |
21 |
eend $? |
22 |
} |
22 |
} |