diff --git a/assets/ffplayout.service b/assets/ffplayout.service index 55ca4aaf..6a9d2fe0 100644 --- a/assets/ffplayout.service +++ b/assets/ffplayout.service @@ -3,7 +3,7 @@ Description=Rust and ffmpeg based playout solution After=network.target remote-fs.target [Service] -ExecStart=/usr/bin/ffplayout +ExecStart=/usr/bin/ffplayout -l 0.0.0.0:8787 Restart=always StartLimitInterval=20 RestartSec=1 diff --git a/ffplayout/Cargo.toml b/ffplayout/Cargo.toml index 46398be9..1e0bfc9c 100644 --- a/ffplayout/Cargo.toml +++ b/ffplayout/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ffplayout" description = "24/7 playout based on rust and ffmpeg" -readme = "README.md" +readme = "../README.md" version.workspace = true license.workspace = true authors.workspace = true diff --git a/scripts/build.sh b/scripts/build.sh index efa50454..fca0ee7d 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -44,9 +44,7 @@ for target in "${targets[@]}"; do cross build --release --target=$target - cp ./target/${target}/release/ffplayout . - tar -czvf "ffplayout-v${version}_${target}.tar.gz" --exclude='*.db' --exclude='*.db-shm' --exclude='*.db-wal' assets docker docs LICENSE README.md CHANGELOG.md ffplayout - rm -f ffplayout + tar --transform 's/.*\///g' -czvf "ffplayout-v${version}_${target}.tar.gz" --exclude='*.db' --exclude='*.db-shm' --exclude='*.db-wal' assets docker docs LICENSE README.md CHANGELOG.md ./target/${target}/release/ffplayout fi echo ""