--- mcore-src/trunk/mcore-tools/daemon/client/mcored.rc 2011/02/02 20:20:24 1248 +++ mcore-src/trunk/mcore-tools/daemon/client/mcored.rc 2012/08/13 09:47:50 2010 @@ -16,10 +16,10 @@ case "$1" in start) - echo -e ${COLOREDSTAR}"Starting mCore client daemon ..." + rc_print "Starting mCore client daemon ..." start-stop-daemon --start --exec /usr/sbin/sslsvd \ --pidfile /var/run/mcored.pid --background --make-pidfile \ - -- -U ${SSL_USER} -/ ${SSL_KEY_DIR} -Z ${SSL_CERT} -K ${SSL_KEY} \ + -- -U ${SSL_USER} -/ ${CHROOT_DIR} -Z ${SSL_CERT} -K ${SSL_KEY} \ ${OPTS} ${LISTEN_IP} ${LISTEN_PORT} /usr/sbin/mcored evaluate_retval @@ -28,8 +28,8 @@ ;; stop) - echo -e ${COLOREDSTAR}"Stopping mCore client daemon ..." - start-stop-daemon --stop --pidfile /var/run/mcored.pid + rc_print "Stopping mCore client daemon ..." + start-stop-daemon --quiet --stop --pidfile /var/run/mcored.pid evaluate_retval update_svcstatus $1 @@ -47,7 +47,7 @@ ;; *) - echo "Usage: $0 {start|stop|restart|status}" + rc_echo "Usage: $0 {start|stop|restart|status}" exit 1 ;; esac