26 lines
753 B
Bash
Executable file
26 lines
753 B
Bash
Executable file
#!/bin/bash
|
|
|
|
export DISPLAY=:0
|
|
#export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
|
|
#export XDG_RUNTIME_DIR=/run/user/1001
|
|
export JACK_NO_AUDIO_RESERVATION=1
|
|
|
|
port=57110
|
|
|
|
echo "ephemeral: ------------------------------------------------------------"
|
|
echo "ephemeral: `/bin/date`"
|
|
echo "ephemeral: as user `whoami`"
|
|
#echo "ephemeral: with env -> `env`"
|
|
|
|
echo "ephemeral: scythe..."
|
|
|
|
killall sclang
|
|
sleep 5
|
|
|
|
echo "ephemeral: sclang starting..."
|
|
|
|
#runuser -l foam -c 'screen -S test -m -d /usr/local/bin/sclang /home/foam/ephemeral-garden/sc3-test.sc >> /home/foam/ephemeral-garden/test.log 2>&1'
|
|
|
|
/usr/local/bin/sclang /home/foam/ephemeral-garden/ephemera-2CH.sc 2>&1 >> /home/foam/ephemeral-garden/test.log
|
|
|
|
echo "ephemeral: sclang spawned..."
|