commit | d9c5bebf10b7e45c714c072a12d058be683d4b18 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Wed Jan 23 15:56:26 2019 -0600 |
committer | Andrew Geissler <geissonator@yahoo.com> | Thu Jan 24 13:27:33 2019 +0000 |
tree | e298d428d87e669011f82009197b280e6c61ebcb | |
parent | 97ace23dd7ff7f94f81afc89f4adfb269f35d386 [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. Change-Id: I8549c4875ba2eef0a274517ba12b3f5703b00cee Signed-off-by: Andrew Geissler <geissonator@yahoo.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}