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