ephemeral-garden/setup.sh

27 lines
753 B
Bash
Raw Normal View History

2018-04-26 17:40:40 +00:00
#!/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`"
2018-05-21 07:18:36 +00:00
echo "ephemeral: scythe..."
killall sclang
2018-04-26 17:40:40 +00:00
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'
2018-05-19 19:36:07 +00:00
/usr/local/bin/sclang /home/foam/ephemeral-garden/ephemera-2CH.sc 2>&1 >> /home/foam/ephemeral-garden/test.log
2018-04-26 17:40:40 +00:00
echo "ephemeral: sclang spawned..."