1[Unit]
2Description=Phosphor Console Muxer listening on device /dev/%I
3BindsTo=dev-%i.device
4After=dev-%i.device
5
6[Service]
7ExecStartPre=/usr/sbin/uart-remapping.sh init
8ExecStart=obmc-console-server --config {sysconfdir}/obmc-console.conf %i
9ExecStopPost=/usr/sbin/uart-remapping.sh reset
10SyslogIdentifier=obmc-console-server
11Restart=always
12
13[Install]
14WantedBy={SYSTEMD_DEFAULT_TARGET}
15