Skip to main content

YAML-driven ROS2 systemd service manager

Project description

ROS2 Systemd Manager

ROS2 Systemd Manager is a YAML-driven tool to manage ROS2 launch tasks as systemd services.

What It Does

  • Bootstrap local files with ros2-systemd-manager init
  • Install units with install
  • Install + start + enable with apply
  • Remove units with uninstall
  • Run synchronized update flow with stale-unit cleanup via update
  • Regenerate Makefile only with makefile

CLI

ros2-systemd-manager [action] [--config PATH] [--workspace-key KEY] [--previous-makefile PATH]

Supported actions:

  • init
  • install
  • apply
  • uninstall
  • update
  • makefile

Init Output

Run in an empty directory:

ros2-systemd-manager init

Generated files:

  • ./ros2_services.yaml
  • ./Makefile

YAML Keys

Required:

  • systemd
  • runtime
  • workspaces

Optional:

  • actions (default action is apply)
  • makefile

Generated Makefile

Primary targets:

  • make install
  • make apply
  • make uninstall
  • make update
  • make makefile
  • make start|stop|restart|status|enable|disable
  • make logs / make logs-follow

Config behavior:

  • No hardcoded absolute config path.
  • Auto-discovery in current directory: ./ros2_services.yaml, then first ./*.yaml.
  • Override manually:
make apply CONFIG=./my_services.yaml

Safety

  • Use trusted launch commands only.
  • Validate workspace paths and setup scripts before apply or update.
  • Prefer install first for new services.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ros2_systemd_manager-0.1.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ros2_systemd_manager-0.1.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file ros2_systemd_manager-0.1.0.tar.gz.

File metadata

  • Download URL: ros2_systemd_manager-0.1.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for ros2_systemd_manager-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ededb1e95e43e454e11e1f77faccf96daa5b2d1fabd0a74ef2d18792ddd44fa7
MD5 0ad115f6cd66cce49913ab2fc56946a6
BLAKE2b-256 70a873b94085c72ae45c1cc9075649c0d9c09ef64bb34cce4bc7265760d30124

See more details on using hashes here.

File details

Details for the file ros2_systemd_manager-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ros2_systemd_manager-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a884ddfe3e19e27550f694eb05413bf3b440eccff56c00bd8641edafe25daaf
MD5 059d4c96435f54993cb5606dc0b6f901
BLAKE2b-256 2f36b3f18ef7c540c3088fd9186a3978133121baa9f262da33a1a1b8a0e3a7a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page