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-recent
  • make <op>-<service> (op in start/stop/restart/status/enable/disable/logs/logs-recent)

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.2.tar.gz (12.1 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.2-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ros2_systemd_manager-0.1.2.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ros2_systemd_manager-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ea0ff6759903d89c464f1b70e82f6640233adecc7cb1d73cc357120b7261435e
MD5 7e5f6e0f5493cc298b8af9268ea79b1d
BLAKE2b-256 08236d8de1ffb6b0827b9ad878c59aeee6955bb47ee85140e15a184b68ef63b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ros2_systemd_manager-0.1.2.tar.gz:

Publisher: release-pypi.yml on hnrobert/ros2-systemd-manager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for ros2_systemd_manager-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 640bd462ed53802e79f0542db61757e9a6313e144e2d33690f937c63bc380bbd
MD5 3ab96b20e9510a16642a376e6f2f4ba9
BLAKE2b-256 e4eb27c6e45a74d52ec77a0f2720b3adc6ea0e64175cc55f269b0435cc3e4050

See more details on using hashes here.

Provenance

The following attestation bundles were made for ros2_systemd_manager-0.1.2-py3-none-any.whl:

Publisher: release-pypi.yml on hnrobert/ros2-systemd-manager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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