summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/recipes-phosphor/chassis
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2019-01-23 15:56:26 -0600
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-01-24 14:13:41 +0000
commitc53f375a0f92f847d2aa50e19de54840e8472c8e (patch)
treed780f49e65743598b95478b89948a88d51aed3c5 /meta-phosphor/recipes-phosphor/chassis
parent07b918e3c7124b95d13eeaf4837d7ff0f4c0159f (diff)
downloadtalos-openbmc-c53f375a0f92f847d2aa50e19de54840e8472c8e.tar.gz
talos-openbmc-c53f375a0f92f847d2aa50e19de54840e8472c8e.zip
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: If199ed739853b353cb11c85039a30c17e9a32e49 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/chassis')
-rw-r--r--meta-phosphor/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service b/meta-phosphor/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service
index 0e294a189..784df407b 100644
--- a/meta-phosphor/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service
+++ b/meta-phosphor/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service
@@ -7,6 +7,7 @@ Type=oneshot
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}
OpenPOWER on IntegriCloud