service_files: remove StopWhenUnneeded flag in FruDevice service
There have been instances where the FruDevice service would stop
when the host is turned off. The solution was to remove the
StopWhenUnneeded flag. This flag is not necessary for FruDevice to
detect devices.
Tested:
- ReScan and ReScanBus function with the flag removed
- Re-init of the system successfully detects devices
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I47787fe72e004ff43911018b8b7251eb2775d692
diff --git a/service_files/xyz.openbmc_project.FruDevice.service b/service_files/xyz.openbmc_project.FruDevice.service
index 43bae9b..26a095a 100644
--- a/service_files/xyz.openbmc_project.FruDevice.service
+++ b/service_files/xyz.openbmc_project.FruDevice.service
@@ -1,6 +1,5 @@
[Unit]
Description=Fru Device
-StopWhenUnneeded=true
After=xyz.openbmc_project.CloseMuxes.service dbus.service
[Service]