mirror of
https://github.com/davedoesdev/streamana.git
synced 2024-08-20 23:27:41 +08:00
Move scripts into separate directory
This commit is contained in:
parent
dc1913728b
commit
f840e1c38d
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
cd "$(dirname "$0")"
|
||||
cd "$(dirname "$0")/../certs"
|
||||
|
||||
cn="streamana test CA"
|
||||
|
||||
@ -12,5 +12,4 @@ done
|
||||
|
||||
openssl req -new -x509 -nodes -newkey rsa:2048 -keyout ca.key -out ca.crt -days 3650 -subj "/CN=$cn/"
|
||||
|
||||
rm ca.srl
|
||||
|
||||
rm -f ca.srl
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
cd "$(dirname "$0")"
|
||||
ffmpeg -f lavfi -i color=white:640x480:d=1,format=rgb24 -f lavfi -i anullsrc=cl=mono:r=48000 -vf format=yuv420p -t 1 site/empty.mp4
|
||||
ffmpeg -f lavfi -i color=white:640x480:d=1,format=rgb24 -f lavfi -i anullsrc=cl=mono:r=48000 -vf format=yuv420p -t 1 ../site/empty.mp4
|
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
cd "$(dirname "$0")"
|
||||
cd "$(dirname "$0")/../certs"
|
||||
|
||||
host=DNS:localhost
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
cd "$(dirname "$0")/site"
|
||||
cd "$(dirname "$0")/../site"
|
||||
if test "$1" = "--https"; then
|
||||
serve -S -l tcp://0.0.0.0 --ssl-cert ../certs/server.crt --ssl-key ../certs/server.key
|
||||
else
|
Loading…
Reference in New Issue
Block a user