blob: e3dac7fc04d5fb5020e9f93e09ec275d0817b3a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/runscript
depend() {
after alsasound esound
}
start() {
ebegin "Starting TiMidity++ Virtual Midi Sequencer"
test -n "$TIMIDITY_PCM_NAME" && export TIMIDITY_PCM_NAME
start-stop-daemon --start --background --chdir /usr/share/timidity \
--user timidity --group audio --make-pidfile --pidfile /var/run/timidity.pid \
--exec /usr/bin/timidity -- -iA ${TIMIDITY_OPTS}
eend $?
}
stop() {
ebegin "Stopping TiMidity++"
start-stop-daemon --stop --quiet --pidfile /var/run/timidity.pid
eend $?
}
|