blob: 64d443ff7d49d74deb820ccc1eddd596ece42606 [file] [log] [blame]
[Unit]
Description=%i Console Server
ConditionPathExists=/etc/obmc-console/server.%i.conf
[Service]
# Instance ID is the VUART basename
ExecStartPre=/usr/sbin/ampere_uart_console_setup.sh %i
ExecStart=/usr/sbin/obmc-console-server --config /etc/obmc-console/server.%i.conf %i
SyslogIdentifier=%i-console-server
Restart=always