tweaks and fixes

This commit is contained in:
mcguirepr89
2022-03-03 14:50:37 -05:00
parent d124e108fb
commit e08180ff7d
4 changed files with 24 additions and 23 deletions
-11
View File
@@ -1,11 +0,0 @@
[Unit]
Description=BirdNET-Pi Live Stream
[Service]
Environment=XDG_RUNTIME_DIR=/run/user/1000
Restart=always
Type=simple
RestartSec=3
User=${BIRDNET_USER}
ExecStart=ffmpeg -loglevel 52 -ac 2 -f alsa -i ${REC_CARD} -acodec libmp3lame -b:a 320k -ac 2 -content_type 'audio/mpeg' -f mp3 icecast://source:${ICE_PWD}@localhost:8000/stream -re
[Install]
WantedBy=multi-user.target