Git Product home page Git Product logo

Comments (6)

LegoChicken avatar LegoChicken commented on April 28, 2024 1

Look at the files in https://github.com/google/aiyprojects-raspbian/tree/master/systemd it appears that the 3 services that should be restarted when the code is updated are:
status-led
status-monitor
voice-recognizer
I think that a short script would be useful for when you are modifying the code. It would make the process of tinkering quicker.

from aiyprojects-raspbian.

sheridat avatar sheridat commented on April 28, 2024

Don't you just need to type 'sudo systemctl restart voice-recognizer' to restart? If you do type that it stops the service and then starts it again - total elapsed time is 8 seconds on my aiy box. That's how I pick up changes to src/action.py for instance.

from aiyprojects-raspbian.

LegoChicken avatar LegoChicken commented on April 28, 2024

No, that isn't the only service. I discovered this whilst trying to disable the ready led flashing using the instructions in issue #15. See https://github.com/google/aiyprojects-raspbian/tree/master/systemd for a list of all the services.

from aiyprojects-raspbian.

sheridat avatar sheridat commented on April 28, 2024

Crikey - well in that case count me in as a +1

from aiyprojects-raspbian.

ensonic avatar ensonic commented on April 28, 2024

Personally I think such a script is overkill. We have 3 main services (some of the files in that dir are triggers for boot up and shutdown) and things there aren't changed that often.

from aiyprojects-raspbian.

drigz avatar drigz commented on April 28, 2024

This is obsolete now that the status LED is no longer a separate service.

from aiyprojects-raspbian.

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.