mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-27 10:54:14 +02:00
Add configurable data location
This commit is contained in:
8
birdnet-pipy/rootfs/etc/services.d/main/run
Normal file
8
birdnet-pipy/rootfs/etc/services.d/main/run
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# shellcheck shell=bash
|
||||
set -euo pipefail
|
||||
export PYTHONPATH=/app
|
||||
export PULSE_SERVER=unix:/run/pulse/native
|
||||
bashio::net.wait_for 5002 127.0.0.1 300
|
||||
cd /app
|
||||
exec python3 -m core.main
|
||||
Reference in New Issue
Block a user