You are not logged in.

#1 2005-12-23 20:42:54

deficite
Member
From: Augusta, GA
Registered: 2005-06-02
Posts: 693

Timidity++ daemon script

I made a daemon script to start timidity++'s ALSA daemon. I wanted to send it to the maintainer of the timidity++ package, but on the package's -Qi info, it just says "Arch Linux" as the packager. I went to www.archlinux.org and searched for the package and I got the name of the person who packaged it, but it didn't have an e-mail. So if you are the maintainer of timidity++ and see this, can you drop me a message saying whether you think this is a good or bad idea please? Now for the script (I just modified the cups daemon script):

#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions

PID=`pidof -o %PPID /usr/bin/timidity`
case "$1" in
  start)
    stat_busy "Starting Timidity++ ALSA Daemon"
    [ -z "$PID" ] && /usr/bin/timidity -iAD > /dev/null
    if [ $? -gt 0 ]; then
      stat_fail
    else
      echo $PID > /var/run/timidity.pid
      add_daemon timidity
      stat_done
    fi
    ;;
  stop)
    stat_busy "Stopping Timidity++ ALSA Daemon"
    [ ! -z "$PID" ]  && kill $PID &> /dev/null
    if [ $? -gt 0 ]; then
      stat_fail
    else
      rm /var/run/timidity.pid
      rm_daemon timidity
      stat_done
    fi
    ;;
  restart)
    $0 stop
    sleep 1
    $0 start
    ;;
  *)
    echo "usage: $0 {start|stop|restart}"  
esac
exit 0

Offline

#2 2005-12-24 14:42:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,838

Re: Timidity++ daemon script

You can get hold of Damir at

damir at archlinux dot org

according to the timidity PKGBUILD. On the mailing list, he uses

damir dot perisa at solnet dot ch

OK for ya? smile

Offline

#3 2005-12-25 02:26:49

deficite
Member
From: Augusta, GA
Registered: 2005-06-02
Posts: 693

Re: Timidity++ daemon script

Danke schon!

Offline

#4 2006-01-03 08:27:53

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Timidity++ daemon script

Next time, you can just use the bug tracker: it will be assigned to the right dev.

Offline

#5 2006-01-03 18:14:35

deficite
Member
From: Augusta, GA
Registered: 2005-06-02
Posts: 693

Re: Timidity++ daemon script

I don't much care for flyspray. As long as Arch uses it I will find alternative methods. I also think it is silly that it is used for new features and such because I hardly find the lack of a feature as a bug. This is just personal preference here, and you probably never will see another post asking for a dev's e-mail because tomk reminded me about ABS's PKGBUILDs.

I don't care to argue on the subject either.

Offline

#6 2006-01-03 23:41:43

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Timidity++ daemon script

Fair enough.

Offline

Board footer

Powered by FluxBB