Add BusName directives to service files
Adding the BusName directive to service files enables systemd to better
know when the daemon is started up enough to begin operations. This
is useful for dependencies, so that the dependent service is delayed
until its dependency is ready to process.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id3214ce4f0d9536b560d4505e5b45eaed179941f
diff --git a/service_files/xyz.openbmc_project.nvidiagpusensor.service b/service_files/xyz.openbmc_project.nvidiagpusensor.service
index 71b23d2..22986f6 100644
--- a/service_files/xyz.openbmc_project.nvidiagpusensor.service
+++ b/service_files/xyz.openbmc_project.nvidiagpusensor.service
@@ -5,6 +5,8 @@
After=xyz.openbmc_project.EntityManager.service
[Service]
+Type=dbus
+BusName=xyz.openbmc_project.GpuSensor
Restart=always
RestartSec=5
ExecStart=/usr/libexec/dbus-sensors/nvidiagpusensor