Skip to content

OpenCyphal-Garage/opencyphal-vehicle-system-management-daemon

Repository files navigation

OCVSMD - Open Cyphal Vehicle System Management Daemon

Build

  • Change directory to the project root:
    cd ocvsmd
    

Then one of the two presets depending on your system:

  • Demo-Debian – Debian-based Linux distros like Ubuntu.
  • Demo-Darwin – MacOS
    Debug
    cmake --preset OCVSMD-Debian
    cmake --build --preset OCVSMD-Debian-Debug
    Release
    cmake --preset OCVSMD-Debian
    cmake --build --preset OCVSMD-Debian-Release

Installing

  • Installing the Daemon Binary:

    Debug
    sudo cp build/bin/Debug/ocvsmd /usr/local/bin/ocvsmd
    sudo cp build/bin/Debug/ocvsmd-cli /usr/local/bin/ocvsmd-cli
    Release
    sudo cp build/bin/Release/ocvsmd /usr/local/bin/ocvsmd
    sudo cp build/bin/Release/ocvsmd-cli /usr/local/bin/ocvsmd-cli
  • Installing the Init Script:

    sudo cp init.d/ocvsmd /etc/init.d/ocvsmd
    sudo chmod +x /etc/init.d/ocvsmd
  • Enabling at Startup if needed (on SysV-based systems):

    sudo update-rc.d ocvsmd defaults
    

Usage

  • Control the daemon using the following commands:
    Start
    sudo /etc/init.d/ocvsmd start
    Status
    sudo /etc/init.d/ocvsmd status
    Restart
    sudo /etc/init.d/ocvsmd restart
    Stop
    sudo /etc/init.d/ocvsmd stop
  • View logs:
    sudo grep -r "ocvsmd\[" /var/log/syslog

About

A daemon for management of Cyphal networks in embedded production environments

Resources

License

Stars

Watchers

Forks

Releases

No releases published