summaryrefslogblamecommitdiffstats
path: root/docker/start-selenium-node.sh
blob: a02d0e82d257db6474d61c165d9dd0977183e40c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                     
#!/bin/bash

# Start the pulseaudio server
pulseaudio -D --exit-idle-time=-1

# Load the virtual sink and set it as default
pacmd load-module module-virtual-sink sink_name=v1
pacmd set-default-sink v1

# Set the monitor of v1 sink to be the default source
pacmd set-default-source v1.monitor

rm -f /tmp/.X*lock

# Start app servers
python -m g4f.cli api &
python -m g4f.cli gui