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

Minor improvements to systemd and udev configuration files #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

janakj
Copy link
Contributor

@janakj janakj commented Aug 24, 2021

This pull request primarily adds a udev rule file for core modules serving as radio dongles. It also adds a corresponding systemd unit template that could be used to start or stop the gateway as a core module is connected or disconnected (triggered by the udev rule file).

This udev rule file is similar to the udev rule file for the USB dongle,
except that it matches a slightly different serial number pattern and
creates a device file with a different name (bcCore%n).
This template systemd unit can be used to correctly start the radio
gateway on a system with multiple core modules connected. It is
automatically started and stopped by the corresponding udev rule when
a core module is connected or disconnected.
Correctly show the type of the hardware being used in the description
string and only start the unit after the mosquitto service has been
started.
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

Successfully merging this pull request may close these issues.

None yet

1 participant