This repository has been archived by the owner on May 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
You might prefer https://github.com/chimera-linux/dbus-wait-for.
License
capezotte/dbus-service-wait
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Enhanced version of the dbus-service-wait executable found at https://github.com/kozec/unit2openrc/blob/master/dbus-service-wait.c. Original description: Simple executable that waits until service with name passed as argument is available and exits with exit code 0. If anything fails, exits with code 1. Changes: Fix typo (excepted -> expected) Use the session bus if available. Remove DBUS_SESSION_BUS_ADDRESS from the environment to force the system bus. Misc spacing issues Use arg.h to follow POSIX utility syntax guidelines (more specifically, not require a space) Additional arguments are treated as program to exec(3) into. Listening for readiness then happens on the background. -d option: write newline to an fd (>=3) once a name is acquired. With additional arguments, useful for simulating systemd Type=bus services under s6 and dinit. For instance, you can write to the `run' file or to command= (use 3 as the notify-fd): dbus-service-wait -d3 net.connman.iwd iwd
About
You might prefer https://github.com/chimera-linux/dbus-wait-for.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published