-
-
Notifications
You must be signed in to change notification settings - Fork 895
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
Rpi servicename #1421
base: development
Are you sure you want to change the base?
Rpi servicename #1421
Conversation
89b6d3f
to
06c419e
Compare
Service rename works, but we also need to handle config file, log file, log pipe, eeprom file and maybe something more. This feature was requested in https://bit.ly/3fL0fLn
* On stderr, the service name is printed on each line. * Print the name of the eeprom file, the log file and the log pipe on startup. Hopefully, this will help people notice when they are running multiple instances, and to distinguish between them.
06c419e
to
d9fb12a
Compare
This is how I tested:
|
THIS IS NOT READY FOR MERGE My main concern for this feature is that people will start multiple instances without changing the eeprom config file. If 2 or more gateways use the same eeprom file, behavior will not be good and users will be mightily confused. |
Is it this ready for testing. I want two use an RS485 and RF24 as two instance on a Raspberry |
Yes, you can use it with the caveat posted above. |
An attempt to implement the feature requested in #1407
If you can, please test and give feedback.
I am worried that people will use this new feature without thinking, and start multiple instances with the same eeprom file and/or config file. That would get them into big trouble.