forked from ansible/ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
systemd_service - Add the machine parameter (ansible#82958)
systemctl's `--machine` option execute the operation in the context of a local user session or a local container. This provides a failsafe way to run systemd on behalf of another user than setting the `XDG_RUNTIME_DIR` variable. Signed-off-by: Jimmy Thrasibule <dev@jimmy.lt>
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
changelogs/fragments/82958-systemd_service-machine-parameter.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
minor_changes: | ||
- |- | ||
systemd_service - Add the `machine` parameter to connect systemd to the | ||
session bus of a specific user in a local container or on the local host. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters