diff options
author | Sergey Solomin <sergey.solomin@us.ibm.com> | 2016-11-14 09:06:33 -0600 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-11-21 19:55:58 +0000 |
commit | 29f637ffdaff48ea42ac838c348c8c861434029e (patch) | |
tree | 665687ae42e88739d8c8b3b161b296ac1c7d110d | |
parent | 5e21d738ce65051eb96af367d2bb4167d3b9126a (diff) | |
download | talos-openbmc-29f637ffdaff48ea42ac838c348c8c861434029e.tar.gz talos-openbmc-29f637ffdaff48ea42ac838c348c8c861434029e.zip |
Add sd unit file for vcs_on.sh
Add systemd unit, which starts vcs_on script after vcs workaround.
Partially resolves openbmc/openbmc#647
Change-Id: Ibf13a24b592d6d526b1c599d8f7b4eb8c7596150
Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
-rw-r--r-- | meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_on@.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_on@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_on@.service new file mode 100644 index 000000000..26538bb6a --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/vcs-pre-post/vcs_on@.service @@ -0,0 +1,13 @@ +[Unit] +Description=Turn VCS on +Wants=vcs_workaround@.service +After=vcs_workaround@.service +Conflicts=obmc-chassis-stop@%i.target + +[Service] +ExecStart={bindir}/vcs_on.sh +Type=oneshot +RemainAfterExit=yes + +[Install] +WantedBy=obmc-chassis-start@%i.target |