Skip to content

Document cwd and wait_for_activation parameters in pystemd.run - #109

Merged
aleivag merged 1 commit into
systemd:mainfrom
aleivag:document-wait-for-activation
Jan 5, 2026
Merged

Document cwd and wait_for_activation parameters in pystemd.run#109
aleivag merged 1 commit into
systemd:mainfrom
aleivag:document-wait-for-activation

Conversation

@aleivag

@aleivag aleivag commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

Added missing documentation for the cwd and wait_for_activation parameters. The wait_for_activation parameter addresses a race condition between pystemd.run returning the unit and the unit actually being activated. While most of the time waiting for full completion is fine, sometimes we only need to wait for activation to avoid race conditions without blocking until the service completes.

Added missing documentation for the cwd and wait_for_activation parameters.
The wait_for_activation parameter addresses a race condition between
pystemd.run returning the unit and the unit actually being activated.
While most of the time waiting for full completion is fine, sometimes
we only need to wait for activation to avoid race conditions without
blocking until the service completes.
@aleivag
aleivag marked this pull request as ready for review January 5, 2026 22:40
@aleivag
aleivag merged commit 0e36576 into systemd:main Jan 5, 2026
6 of 33 checks passed
@aleivag
aleivag deleted the document-wait-for-activation branch January 5, 2026 22:40
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.

1 participant