Giter Site home page Giter Site logo

vortex-scripts's Introduction

vortex-scripts

A collection of services and startup scripts to enable automatic start / restart of software on boot.

IP-adresses

IP-addresses might change. Make sure that all script contain up-to-date IP-adresses. Current IP-addresses: odroid: 10.42.0.174 front-cam-helga: 10.42.0.123 nanopi-ingrid: 10.42.0.78 nanopi-christine: 10.42.0.222

View status of a service

To view the status of a service, use the following command: sudo journalctl -f -u run-manta.service

Enabling services and startup scripts

Note that the following steps only needs to be applied once.

odroid

A service is needed to start the script launch_manta.sh at boot. Additionally it makes sure that the processes started by the script is restarted if they crash.

To enable a service, the following steps need to be made.

  • Clone the repository

git clone http://github.com/vortexntnu/vortex-scripts

  • Create a copy of run-manta.service into /etc/systemd/system

sudo cp run-manta.service /etc/systemd/system

  • Create a symbolic link of the startup script in /usr/bin

sudo ln -s /absolute-path-to-git-folder/launch_manta.sh /usr/bin

Camera

nanopi-ingrid and front-cam-helga

sudo cp run-gstreamer.service /etc/systemd/system

sudo ln -s /absolute-path-to-git-folder/start-gstreamer.sh /usr/bin

Manipulator

nanopi-christine

sudo cp run-manipulator.service /etc/systemd/system

sudo ln -s /absolute-path-to-git-folder/start-manipulator-script.sh /usr/bin

sudo ln -s /absolute-path-to-git-folder/launch-manipulator.sh /usr/bin

Enabling the services

run-manta.service example cd /etc/systemd/system

sudo systemctl enable run-manta.service

sudo systemctl start run-manta.service

vortex-scripts's People

Contributors

ghese avatar olesot avatar eirikstor avatar

Watchers

 avatar

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.