Andrei Kartashev | c12c397 | 2021-11-28 22:41:06 +0300 | [diff] [blame] | 1 | [Unit] |
2 | Description=Phosphor Console Muxer listening on device /dev/%I | ||||
3 | BindsTo=dev-%i.device | ||||
4 | After=dev-%i.device | ||||
5 | |||||
6 | [Service] | ||||
7 | ExecStartPre=/usr/sbin/uart-remapping.sh init | ||||
8 | ExecStart=obmc-console-server --config {sysconfdir}/obmc-console.conf %i | ||||
9 | ExecStopPost=/usr/sbin/uart-remapping.sh reset | ||||
10 | SyslogIdentifier=obmc-console-server | ||||
11 | Restart=always | ||||
12 | |||||
13 | [Install] | ||||
14 | WantedBy={SYSTEMD_DEFAULT_TARGET} |