12 |
|
|
13 |
source @@CONFDDIR@@/rc |
source @@CONFDDIR@@/rc |
14 |
source $rc_functions |
source $rc_functions |
15 |
source @@CONFDDIR@@/mcorecontrold |
source @@CONFDDIR@@/mcore-controld |
16 |
|
|
17 |
case "$1" in |
case "$1" in |
18 |
start) |
start) |
19 |
rc_print "Starting mCore control daemon ..." |
rc_print "Starting mCore control daemon ..." |
20 |
start-stop-daemon --start --exec @@SBINDIR@@/sslsvd \ |
start-stop-daemon --start --exec @@SBINDIR@@/sslsvd \ |
21 |
--pidfile @@RUNDIR@@/mcorecontrold.pid --background --make-pidfile \ |
--pidfile @@RUNDIR@@/mcore-controld.pid --background --make-pidfile \ |
22 |
-- -U ${SSL_USER} -/ ${SSL_KEY_DIR} -Z ${SSL_CERT} -K ${SSL_KEY} \ |
-- -U ${SSL_USER} -/ ${SSL_KEY_DIR} -Z ${SSL_CERT} -K ${SSL_KEY} \ |
23 |
${OPTS} ${LISTEN_IP} ${LISTEN_PORT} @@SBINDIR@@/mcorecontrold |
${OPTS} ${LISTEN_IP} ${LISTEN_PORT} @@SBINDIR@@/mcore-controld |
24 |
evaluate_retval |
evaluate_retval |
25 |
|
|
26 |
update_svcstatus $1 |
update_svcstatus $1 |
29 |
|
|
30 |
stop) |
stop) |
31 |
rc_print "Stopping mCore control daemon ..." |
rc_print "Stopping mCore control daemon ..." |
32 |
start-stop-daemon --quiet --stop --pidfile @@RUNDIR@@/mcorecontrold.pid |
start-stop-daemon --quiet --stop --pidfile @@RUNDIR@@/mcore-controld.pid |
33 |
evaluate_retval |
evaluate_retval |
34 |
|
|
35 |
update_svcstatus $1 |
update_svcstatus $1 |