speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DEBUG file in folder /


From: Hermann
Subject: DEBUG file in folder /
Date: Wed, 13 Feb 2008 10:04:24 +0100

am Mi 13. Feb 2008 um 09:32:50 schrieb Halim Sahin <halim.sahin at t-online.de>:
> I don't have such a file in my root-folder.
> Check your start/init script.

I cannot find anything suspicious. I attach the file, hope it's 
permitted.
Hermann
-------------- next part --------------
#! /bin/sh

### BEGIN INIT INFO
# Provides:          speech-dispatcher
# Required-Start:    
# Required-Stop:     
# Should-Start:      festival
# Should-Stop:       festival
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Speech Dispatcher
# Description:       Common interface to speech synthesizers
### END INIT INFO

PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/speech-dispatcher
PIDFILE=/var/run/speech-dispatcher/speech-dispatcher.pid
NAME=speech-dispatcher
DESC='Speech Dispatcher'
USER=speech-dispatcher

test -f $DAEMON || exit 0

. /lib/lsb/init-functions

set -e

case "$1" in
  start)
        log_daemon_msg "Starting $DESC" "speech-dispatcher"
        start-stop-daemon --start --quiet --chuid $USER --pidfile $PIDFILE \
          --exec $DAEMON
        log_end_msg $?
        ;;
  stop)
        log_daemon_msg "Stopping $DESC" "speech-dispatcher"
        start-stop-daemon --oknodo --stop --quiet --user $USER \
          --pidfile $PIDFILE --exec $DAEMON
        log_end_msg $?
        ;;
  reload|force-reload)
        log_daemon_msg "Reloading $DESC configuration files" "speech-dispatcher"
        start-stop-daemon --oknodo --stop --signal 1 --quiet --user $USER \
          --pidfile $PIDFILE --exec $DAEMON
        log_end_msg $?
        ;;
  restart)
        log_daemon_msg "Restarting $DESC" "speech-dispatcher"
        start-stop-daemon --oknodo --stop --quiet --user $USER \
          --pidfile $PIDFILE --exec $DAEMON
        sleep 3
        start-stop-daemon --start --quiet --chuid $USER --pidfile $PIDFILE \
          --exec $DAEMON
        log_end_msg $?
        ;;
  *)
        N=/etc/init.d/$NAME
        echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
        exit 1
        ;;
esac

exit 0


reply via email to

[Prev in Thread] Current Thread [Next in Thread]