19 |
echo -e ${COLOREDSTAR}"Starting mCore client daemon ..." |
echo -e ${COLOREDSTAR}"Starting mCore client daemon ..." |
20 |
start-stop-daemon --start --exec /usr/sbin/sslsvd \ |
start-stop-daemon --start --exec /usr/sbin/sslsvd \ |
21 |
--pidfile /var/run/mcored.pid --background --make-pidfile \ |
--pidfile /var/run/mcored.pid --background --make-pidfile \ |
22 |
-- -U ${SSL_USER} -/ ${SSL_KEY_DIR} -Z ${SSL_CERT} -K ${SSL_KEY} \ |
-- -U ${SSL_USER} -/ ${CHROOT_DIR} -Z ${SSL_CERT} -K ${SSL_KEY} \ |
23 |
${OPTS} ${LISTEN_IP} ${LISTEN_PORT} /usr/sbin/mcored |
${OPTS} ${LISTEN_IP} ${LISTEN_PORT} /usr/sbin/mcored |
24 |
evaluate_retval |
evaluate_retval |
25 |
|
|
29 |
|
|
30 |
stop) |
stop) |
31 |
echo -e ${COLOREDSTAR}"Stopping mCore client daemon ..." |
echo -e ${COLOREDSTAR}"Stopping mCore client daemon ..." |
32 |
start-stop-daemon --stop --pidfile /var/run/mcored.pid |
start-stop-daemon --quiet --stop --pidfile /var/run/mcored.pid |
33 |
evaluate_retval |
evaluate_retval |
34 |
|
|
35 |
update_svcstatus $1 |
update_svcstatus $1 |