diff options
author | Xo Wang <xow@google.com> | 2017-01-19 04:58:51 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-01-26 06:37:49 +0300 |
commit | ca567caad022455648052c300c7d383ed012466c (patch) | |
tree | 9764a3b18dbb26e3dbfabd83c33dc103f5a1a0e0 /meta-phosphor/common/recipes-phosphor/console | |
parent | d509c4c937ffba8756385a3f153c74b007b61fdf (diff) | |
download | openbmc-ca567caad022455648052c300c7d383ed012466c.tar.xz |
Start obmc-console-server with its configuration file
obmc-console-server runs on defaults unless given a '--config' option.
The console configuration file was already included in the recipe source
and installed to the image, but not specified in the invocation.
Fixes openbmc/openbmc#937.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: Ib2eee6d02a5bb407ae525d67ae0a8d3ff2cde7d9
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/console')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/console/obmc-console/obmc-console@.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/console/obmc-console/obmc-console@.service b/meta-phosphor/common/recipes-phosphor/console/obmc-console/obmc-console@.service index d84fca90b..c50b3b1b4 100644 --- a/meta-phosphor/common/recipes-phosphor/console/obmc-console/obmc-console@.service +++ b/meta-phosphor/common/recipes-phosphor/console/obmc-console/obmc-console@.service @@ -5,7 +5,7 @@ After=dev-%i.device [Service] # TODO: openbmc/obmc-console#5 - Restore this to 'obmc-console-server ttyVUART0' -ExecStart=/bin/sh -c 'realpath /dev/%i | xargs basename | xargs {sbindir}/obmc-console-server' +ExecStart=/bin/sh -c 'realpath /dev/%i | xargs basename | xargs {sbindir}/obmc-console-server --config {sysconfdir}/obmc-console.conf' Restart=always [Install] |