blob: b9a6c99a498a707e89f99e8d31bfb6620ed3e37f [file] [log] [blame]
Jeremy Kerr49208ee2016-03-17 17:35:27 +08001[Unit]
Brad Bishopf51b3a02016-08-25 22:41:39 -04002Description=Phosphor Console Muxer
Patrick Williamsb80a4812016-09-16 16:10:20 -05003BindsTo=dev-ttyVUART0.device
4After=dev-ttyVUART0.device
Jeremy Kerr49208ee2016-03-17 17:35:27 +08005
6[Service]
Patrick Williamsb80a4812016-09-16 16:10:20 -05007# TODO: openbmc/obmc-console#5 - Restore this to 'obmc-console-server ttyVUART0'
8ExecStart=/bin/sh -c 'realpath /dev/ttyVUART0 | xargs basename | xargs {sbindir}/obmc-console-server'
Jeremy Kerr49208ee2016-03-17 17:35:27 +08009Restart=always
10
11[Install]
Brad Bishopc2e93ce2016-08-25 22:36:30 -040012WantedBy={SYSTEMD_DEFAULT_TARGET}