blob: c50b3b1b4472fdb5fd69511f36e2e783968df9d7 [file] [log] [blame]
Vishwanatha Subbanna5f3a19b2016-10-01 11:34:42 -05001[Unit]
2Description=Phosphor Console Muxer listening on device /dev/%I
3BindsTo=dev-%i.device
4After=dev-%i.device
5
6[Service]
7# TODO: openbmc/obmc-console#5 - Restore this to 'obmc-console-server ttyVUART0'
Xo Wangf6dab572017-01-18 17:58:51 -08008ExecStart=/bin/sh -c 'realpath /dev/%i | xargs basename | xargs {sbindir}/obmc-console-server --config {sysconfdir}/obmc-console.conf'
Vishwanatha Subbanna5f3a19b2016-10-01 11:34:42 -05009Restart=always
10
11[Install]
12WantedBy={SYSTEMD_DEFAULT_TARGET}