Replies: 1 comment
-
Preferred installation method using install.sh configures BirdNET-Go to start on system boot, no additional configuration is needed. But if you did install with any other method, you can configure start on boot by doing: Binary Installation Method
sudo nano /etc/systemd/system/birdnet-go.service
[Unit]
Description=BirdNET-Go Analyzer Service
[Service]
ExecStart=/home/YOUR_USERNAME/birdnet-go realtime
Restart=always
User=YOUR_USERNAME
Group=YOUR_USERNAME
WorkingDirectory=/home/YOUR_USERNAME
[Install]
WantedBy=multi-user.target Docker Installation Method
sudo nano /etc/systemd/system/birdnet-go.service
[Unit]
Description=BirdNET-Go
After=docker.service
Requires=docker.service
[Service]
Restart=always
ExecStart=/usr/bin/docker run --rm \
-p 8080:8080 \
--env TZ="Your/Timezone" \
--env ALSA_CARD=YOUR_AUDIO_DEVICE \
--device /dev/snd \
-v /path/to/your/config:/config \
-v /path/to/your/data:/data \
ghcr.io/tphakala/birdnet-go:latest
[Install]
WantedBy=multi-user.target Enable and Start the Service After creating the service file: # Enable service to start on boot
sudo systemctl enable birdnet-go.service
# Start the service now
sudo systemctl start birdnet-go.service
# Check status
sudo systemctl status birdnet-go.service Configuration Notes
Troubleshooting View service logs: sudo journalctl -u birdnet-go.service -f Restart the service: sudo systemctl restart birdnet-go.service |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is there a way to auto start birdnet-go on my raspberry pi with a lite os (access via ssh on my android or windows pc)?
I also want it to execute while offline... to access via ssh, i can use my phone's hotspot, but I'd like the pi to keep running birdnet-go 24/7 offline. how do i do that?
thanks!
Beta Was this translation helpful? Give feedback.
All reactions