Move old implementation

This commit is contained in:
2022-10-21 22:08:01 +02:00
parent 814e88d19e
commit 9c8319e114
8 changed files with 16 additions and 0 deletions

16
old_golang/starter.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
# Start obs
echo "Start obs."
./obs-cli
# calculate the cli argument to seconds
seconds=$(expr $1 \* 60)
echo "Waiting $seconds seconds ($1 min)"
sleep $seconds
# Stop obs
echo "Stop obs."
./obs-cli