Vishwanatha Subbanna | 5f3a19b | 2016-10-01 11:34:42 -0500 | [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 | # TODO: openbmc/obmc-console#5 - Restore this to 'obmc-console-server ttyVUART0' | ||||
8 | ExecStart=/bin/sh -c 'realpath /dev/%i | xargs basename | xargs {sbindir}/obmc-console-server' | ||||
9 | Restart=always | ||||
10 | |||||
11 | [Install] | ||||
12 | WantedBy={SYSTEMD_DEFAULT_TARGET} |