Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
387 B

#!/bin/sh
# Start/stop/restart TiMidity++ in daemon mode
timidity_start()
{
timidity -iAD -Os
}
timidity_stop()
{
killall timidity
}
timidity_restart()
{
timidity_stop
sleep 1
timidity_start
}
case $1 in
start)
timidity_start
;;
stop)
timidity_stop
;;
restart)
timidity_restart
;;
*)
echo "usage: $0 start|stop|restart"
;;
esac