blob: d84fca90bc0f750ba2b93b190317d861a8d94cc1 [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'
Restart=always
[Install]
WantedBy={SYSTEMD_DEFAULT_TARGET}