update build
This commit is contained in:
parent
0f4bbd8863
commit
f68a879b89
@ -3,7 +3,7 @@ Description=Rust and ffmpeg based playout solution
|
|||||||
After=network.target remote-fs.target
|
After=network.target remote-fs.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/ffplayout
|
ExecStart=/usr/bin/ffplayout -l 0.0.0.0:8787
|
||||||
Restart=always
|
Restart=always
|
||||||
StartLimitInterval=20
|
StartLimitInterval=20
|
||||||
RestartSec=1
|
RestartSec=1
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "ffplayout"
|
name = "ffplayout"
|
||||||
description = "24/7 playout based on rust and ffmpeg"
|
description = "24/7 playout based on rust and ffmpeg"
|
||||||
readme = "README.md"
|
readme = "../README.md"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
|
@ -44,9 +44,7 @@ for target in "${targets[@]}"; do
|
|||||||
|
|
||||||
cross build --release --target=$target
|
cross build --release --target=$target
|
||||||
|
|
||||||
cp ./target/${target}/release/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
|
||||||
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
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user