commit | bf1ec5d59cfac4e5db65e439391e305adba9558b | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Wed Jan 23 15:56:26 2019 -0600 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Jan 30 22:37:31 2019 -0500 |
tree | 71a6309e8f7af8461fcff5cf6a626d9759b60375 | |
parent | ebf124186a6a65911c72e3000ac6b99734c3986b [diff] |
oneshot services should only be run once Still chasing root cause of openbmc/openbmc#3466 but either way, these services should be configured to only ever run once. They do one-time things and do not make sense to be run multiple times. (From meta-phosphor rev: d9c5bebf10b7e45c714c072a12d058be683d4b18) Change-Id: I8549c4875ba2eef0a274517ba12b3f5703b00cee Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service b/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service index 0e294a1..784df40 100644 --- a/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service +++ b/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service
@@ -7,6 +7,7 @@ EnvironmentFile={envfiledir}/obmc/sync_inventory_item/%I ExecStart=/usr/bin/env sync_inventory_items.py -p ${{PROPERTY}} -s $SYNC_TYPE SyslogIdentifier=sync_inventory_items.py +RemainAfterExit=yes [Install] WantedBy={SYSTEMD_DEFAULT_TARGET}
diff --git a/recipes-phosphor/sensors/phosphor-hwmon/phosphor-max31785-msl@.service b/recipes-phosphor/sensors/phosphor-hwmon/phosphor-max31785-msl@.service index d9de6c0..c007f11 100644 --- a/recipes-phosphor/sensors/phosphor-hwmon/phosphor-max31785-msl@.service +++ b/recipes-phosphor/sensors/phosphor-hwmon/phosphor-max31785-msl@.service
@@ -9,3 +9,4 @@ ExecStart=/usr/bin/env max31785-msl -p "${{PATHS}}" -b ${{BUS}} -r ${{REVISION}} EnvironmentFile={envfiledir}/obmc/hwmon-max31785/%I.conf SyslogIdentifier=max31785-msl +RemainAfterExit=yes