diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-08-08 08:53:13 -0400 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-09-06 11:51:23 +0000 |
commit | 7e164be09b4164301f717a5626695e50eb568cf0 (patch) | |
tree | ecc97a897bb791370a370f3d63970c317790cff6 /meta-openbmc-machines | |
parent | 295bc64243b5505a18ef0e2f2d8b6f73da966cdf (diff) | |
download | talos-openbmc-7e164be09b4164301f717a5626695e50eb568cf0.tar.gz talos-openbmc-7e164be09b4164301f717a5626695e50eb568cf0.zip |
Add Systemd unit files for skeleton applications
Preparing to start these with systemd.
Change-Id: I39a99242cee3e9e17e51356521d29bab5ad7d399
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openbmc-machines')
-rw-r--r-- | meta-openbmc-machines/meta-openpower/common/recipes-phosphor/inventory-upload/inventory-upload/op-inventory-upload@.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/inventory-upload/inventory-upload/op-inventory-upload@.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/inventory-upload/inventory-upload/op-inventory-upload@.service new file mode 100644 index 000000000..39c1cfc85 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/inventory-upload/inventory-upload/op-inventory-upload@.service @@ -0,0 +1,15 @@ +[Unit] +Description=Inventory Upload +Wants=obmc-host-start-pre@%i.target +Before=obmc-host-start-pre@%i.target +Conflicts=obmc-chassis-stop@%i.target + +[Service] +Restart=no +Type=oneshot +RemainAfterExit=yes +ExecStart={sbindir}/inventory_upload.py +Environment="PYTHONUNBUFFERED=1" + +[Install] +WantedBy=obmc-chassis-start@%i.target |