diff options
Diffstat (limited to 'stream')
-rwxr-xr-x | stream | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ | |||
1 | #!/bin/sh | ||
2 | set -e | ||
3 | srvdir=$(cryptonomic srvdir) | ||
4 | hostname=$(cryptonomic hostname) | ||
5 | [ -d "$srvdir" ] | ||
6 | [ "$hostname" ] | ||
7 | dashname=dash | ||
8 | dashdir=$srvdir/public_html/$dashname | ||
9 | sudo mkdir -p "$dashdir" | ||
10 | sudo chown "$USER:$GROUP" "$dashdir" | ||
11 | printf '%s\n' "https://$hostname/$dashname" | ||
12 | ./ffmpeg.sh "$dashdir" | ||