commit | c2e93ce241e4cf4e9449d1d4446c802dcfb8224a | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu Aug 25 22:36:30 2016 -0400 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Sep 13 18:08:12 2016 +0000 |
tree | adcbed1893e99af0256a7cc51bbfe100eccd09cc | |
parent | 6d9aad64be7311e51af98ae2ef052ada564ebdbf [diff] |
Use systemd substitutions Make use of the new substitution feature in the Phosphor systemd bitbake class. Change-Id: I2db85347809ef557a53e92af3ffcf17c8003b3ce Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/common/recipes-phosphor/examples/files/org.openbmc.examples.PythonService.service b/common/recipes-phosphor/examples/files/org.openbmc.examples.PythonService.service index 27d9bfe..531c49d 100644 --- a/common/recipes-phosphor/examples/files/org.openbmc.examples.PythonService.service +++ b/common/recipes-phosphor/examples/files/org.openbmc.examples.PythonService.service
@@ -3,8 +3,8 @@ [Service] Restart=always -ExecStart=/usr/sbin/obmc-phosphor-example-pydbus +ExecStart={sbindir}/obmc-phosphor-example-pydbus Environment="PYTHONUNBUFFERED=1" [Install] -WantedBy=multi-user.target +WantedBy={SYSTEMD_DEFAULT_TARGET}
diff --git a/common/recipes-phosphor/examples/obmc-phosphor-example-sdbus/org.openbmc.examples.SDBusService.service b/common/recipes-phosphor/examples/obmc-phosphor-example-sdbus/org.openbmc.examples.SDBusService.service index 442e910..7bdfc56 100644 --- a/common/recipes-phosphor/examples/obmc-phosphor-example-sdbus/org.openbmc.examples.SDBusService.service +++ b/common/recipes-phosphor/examples/obmc-phosphor-example-sdbus/org.openbmc.examples.SDBusService.service
@@ -3,7 +3,7 @@ [Service] Restart=always -ExecStart=/usr/sbin/obmc-phosphor-example-sdbus +ExecStart={sbindir}/obmc-phosphor-example-sdbus [Install] -WantedBy=multi-user.target +WantedBy={SYSTEMD_DEFAULT_TARGET}