Skip to content

Conversation

@chrivers
Copy link
Owner

Rework svc ("service") crate, to support templated services.

These are analogous to systemd template service, in which a service name can contain @ to indicate it is a template.

In this way, instead of manually registering foo-1, foo-2, etc,
we can register foo@, and then start instances 1, 2, etc.

This makes service management cleaner and simpler, and provides a way to recognize groups
of related services.

chrivers added 19 commits May 24, 2025 10:38
…ead return result from Service::signal_stop()
…nd make .start()/.stop() always return Uuid of instance
@chrivers chrivers merged commit 0231894 into master May 24, 2025
1 check passed
@chrivers chrivers deleted the chrivers/service-instancing branch May 24, 2025 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants