From ca567caad022455648052c300c7d383ed012466c Mon Sep 17 00:00:00 2001 From: Xo Wang Date: Wed, 18 Jan 2017 17:58:51 -0800 Subject: 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 Change-Id: Ib2eee6d02a5bb407ae525d67ae0a8d3ff2cde7d9 --- .../common/recipes-phosphor/console/obmc-console/obmc-console@.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-phosphor/common/recipes-phosphor/console') 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] -- cgit v1.2.1