Skip to content

Instantly share code, notes, and snippets.

@philips
Last active December 24, 2015 17:19
Show Gist options
  • Select an option

  • Save philips/6834913 to your computer and use it in GitHub Desktop.

Select an option

Save philips/6834913 to your computer and use it in GitHub Desktop.
$ gdbus call --system --dest org.freedesktop.systemd1 --object-path /org/freedesktop/systemd1/unit/doesnt_2dexist_2eservice -m org.freedesktop.DBus.Properties.GetAll org.freedesktop.systemd1.Unit
Generates UnitNew and UnitRemove events
signal sender=:1.3 -> dest=(null destination) serial=7945 path=/org/freedesktop/systemd1; interface=org.freedesktop.systemd1.Manager; member=UnitNew
string "doesnt-exist.service"
object path "/org/freedesktop/systemd1/unit/doesnt_2dexist_2eservice"
signal sender=:1.3 -> dest=(null destination) serial=7946 path=/org/freedesktop/systemd1; interface=org.freedesktop.systemd1.Manager; member=UnitRemoved
string "doesnt-exist.service"
object path "/org/freedesktop/systemd1/unit/doesnt_2dexist_2eservice"
signal sender=:1.3 -> dest=(null destination) serial=7948 path=/org/freedesktop/systemd1; interface=org.freedesktop.systemd1.Manager; member=UnitNew
string "doesnt-exist.service"
object path "/org/freedesktop/systemd1/unit/doesnt_2dexist_2eservice"
signal sender=:1.3 -> dest=(null destination) serial=7949 path=/org/freedesktop/systemd1; interface=org.freedesktop.systemd1.Manager; member=UnitRemoved
string "doesnt-exist.service"
object path "/org/freedesktop/systemd1/unit/doesnt_2dexist_2eservice"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment