Skip to contentSkip to conversation

phoronix-test-suite: disable systemd services by default

PATCH New Joe Slater 1 participant 1 message May 1, 2018

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 phoronix-test-suite: disable systemd services by default

Unfortunately, the default behavior for at least the client service is to reboot the machine if it encounters problems. Since it is pretty much guaranteed to need target specific configuration info, we should not enable the service(s) by default.

---
 .../phoronix-test-suite/phoronix-test-suite_7.8.0.bb                 | 5 +++++
 1 file changed, 5 insertions(+)
meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_7.8.0.bb +5 -0
index b205821..1f90a71 100644
@@ -23,7 +23,12 @@ do_install() {
     fi
 }
 
+# It is not advisable to enable these services by default since they can cause
+# continual target reboots if they encounter network problems.
+#
+SYSTEMD_AUTO_ENABLE = "disable"
 SYSTEMD_SERVICE_${PN} = "phoromatic-client.service phoromatic-server.service"
+
 RDEPENDS_${PN} += "bash python php-cli"
 
 FILES_${PN} += " \
Signature · 1 line
2.7.4