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
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 d84fca9..c50b3b1 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 @@
[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]