Skip to content

Commit 7086ebb

Browse files
author
mh
committed
sponc: added stop script, start script independant from pwd, killing a possibly running scsynth
svn path=/trunk/avg_media/mtc/sponc/; revision=3512
1 parent 730c77d commit 7086ebb

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

start.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
2+
cd `dirname $0`
23
export SC_JACK_DEFAULT_OUTPUTS="alsa_pcm:playback_1,alsa_pcm:playback_2"
34
while [ true ]; do
5+
killall -9 scsynth
46
scsynth -u 57110 -b 1026 2>/dev/null &
57
sleep 6
68
./sponc.py >> sponc.log 2>&1

stop.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
killall start.sh
3+
killall sponc.py
4+
killall scsynth
5+
killall -9 scsynth

0 commit comments

Comments
 (0)