blob: c50b3b1b4472fdb5fd69511f36e2e783968df9d7 [file] [log] [blame]
[Unit]
Description=Phosphor Console Muxer listening on device /dev/%I
BindsTo=dev-%i.device
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 --config {sysconfdir}/obmc-console.conf'
Restart=always
[Install]
WantedBy={SYSTEMD_DEFAULT_TARGET}