Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support more complex device names #81

Closed
rfc1036 opened this issue Jan 6, 2022 · 1 comment
Closed

Support more complex device names #81

rfc1036 opened this issue Jan 6, 2022 · 1 comment

Comments

@rfc1036
Copy link

rfc1036 commented Jan 6, 2022

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.

@3cky 3cky closed this as completed in 7c26860 Feb 17, 2022
@3cky
Copy link
Owner

3cky commented Feb 17, 2022

Done, thanks for the suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants