Skip to content

Instantly share code, notes, and snippets.

@jneilliii
Created March 19, 2024 03:36
Show Gist options
  • Save jneilliii/93b412cb0bbf6b7bfd76f7e10d612f24 to your computer and use it in GitHub Desktop.
Save jneilliii/93b412cb0bbf6b7bfd76f7e10d612f24 to your computer and use it in GitHub Desktop.
[Unit]
Description=go2rtc
After=network.online.target
Wants=network.online.target
[Service]
Type=simple
User=pi
ExecStart=/home/pi/go2rtc_linux_arm -config /home/pi/go2rtc.yaml
[Install]
WantedBy=multi-user.target
@jneilliii
Copy link
Author

jneilliii commented Mar 19, 2024

SSH to the pi and run these commands to setup go2rtc service.

wget https://gist.github.com/jneilliii/93b412cb0bbf6b7bfd76f7e10d612f24/raw/ccae1e780ff68673ae4997e4ef9f758787040c8a/go2rtc.service
sudo cp ./go2rtc.service /etc/systemd/system/go2rtc.service
sudo systemctl enable go2rtc.service
sudo systemctl start go2rtc

go to http://<ip>:1984/ to access go2rtc's web interface and configure the settings for your stream type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment