A linux daemon that listens to dbus signals and pushes them to salt's(Saltstack) event bus
-
Edit dbus_agent.service file to assign the following variables: ExecStart, ExecStop, ExecReload the location of dbus_agent.py Eg:
ExecStart=/root/DbusAgent/dbus_agent.py start ExecStop=/root/DbusAgent/dbus_agent.py stop ExecReload=/root/DbusAgent/dbus_agent.py reload
-
Copy the edited script to location: /usr/lib/systemd/system/
-
Edit the dbusAgent.json (config file) to filter the events.
-
Start the daemon:
service dbus_agent start