Closed rfc1036 closed 2 years ago
Pseudo-patch for the systemd unit:
-ExecStart=/usr/local/sbin/mbusd -d -v1 -L - -c /etc/mbusd-%i.conf -p /dev/%i +ExecStart=/usr/local/sbin/mbusd -d -v1 -L - -c /etc/mbusd-%i.conf -p /dev/%I
This way if the unit is called mbusd@serial-rs485.service then it will use /dev/serial/rs485.
mbusd@serial-rs485.service
/dev/serial/rs485
Done, thanks for the suggestion!
Pseudo-patch for the systemd unit:
This way if the unit is called
mbusd@serial-rs485.service
then it will use/dev/serial/rs485
.