Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider a systemd service based approach #5

Open
isaric opened this issue Oct 19, 2023 · 3 comments
Open

Consider a systemd service based approach #5

isaric opened this issue Oct 19, 2023 · 3 comments

Comments

@isaric
Copy link

isaric commented Oct 19, 2023

Hi @geerlingguy ,

I'm also in the business of Raspberry Pi NVRs/DVRs and I've decided to roll my own approach.
After balking at the complexity of Shinobi, I decided to use a systemd service based approach.

I have one project for recording via ffmpeg and another for doing motion detection on ONVIF-compliant devices
that expose motion events (ie. using the built-in capabilities of the camera). The first one is pure bash and the other is
golang but both run via systemd.

What my project of projects lacks is what you mentioned in your issue #1 - a simple frontend where you can just hand it a url
and you can setup a dashboard for live viewing. I'm still brainstorming that part as I don't write code that deals with UDP or websockets often.

Please consider checking out my approach with these two projects. I'd be happy to work on making the install process easier via a script/wizard.

@dcousens
Copy link

dcousens commented Oct 19, 2023

Probably less about systemd, and more about the unix philosophy and micro services - I am using a similar approach [with systemd]

@isaric
Copy link
Author

isaric commented Oct 20, 2023

@dcousens Thanks for taking a look. I usually associate microservices with web applications. In this case the we are talking about scripts that run locally. They do get their content from the network but there is no communication between components.

@isaric
Copy link
Author

isaric commented Dec 2, 2023

I added a Makefile that completes a system-wide install of all of the compiled binaries and install systemd service files that can be used with environment files for templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants