Giter Site home page Giter Site logo

Comments (4)

davesteele avatar davesteele commented on June 12, 2024

The problem is that both Comitup and Motioneye require ownership of port 80. The solution is to allow Comitup to manage the Motioneye service - enabling it when an upstream connection is achieved. See the Pi-hole and Docker solutions for an idea of how to do this.

from comitup.

evandene avatar evandene commented on June 12, 2024

Thanks for the response, the direction given make sense and will get me out of the woods. I will publish the results after the holidays.
Thanks again.

from comitup.

evandene avatar evandene commented on June 12, 2024

And indeed all works fine now. No conflicts anymore. Here below the script that worked for me.
First stop Motioneye
sudo systemctl stop motioneye
sudo systemctl disable motioneye
Create a file script with name: /usr/local/bin/comitup-callback

  • nano /usr/local/bin/comitup-callback
    Add the following lines
    #!/usr/bin/bash

if [ $1 == "CONNECTED" ] ; then
systemctl start motioneye
else
if [ $1 == "HOTSPOT" ] ; then
systemctl stop motioneye
fi
fi

Make the script executable

$ sudo chmod 755 /usr/local/bin/comitup-callback
$ sudo chown root.root /usr/local/bin/comitup-callback

Enable motioneye
systemctl enable motioneye

from comitup.

davesteele avatar davesteele commented on June 12, 2024

Enable motioneye
systemctl enable motioneye

You may have an issue after reboot.

from comitup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.