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

Command to reload *some* configuration values #177

Open
GoogleCodeExporter opened this issue Aug 17, 2015 · 5 comments
Open

Command to reload *some* configuration values #177

GoogleCodeExporter opened this issue Aug 17, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

we really need a way to add and remove passwords on-the-fly without restarting 
the server. it would be even better if we had the option to centralize the 
passwords so only one file would need to be edited to update the passwords for 
multiple servers that share them.

my thought is a separate text file containing the passwords stored either 
locally (if servers are on same machine) or remotely that each server 
reads/fetches in timed intervals.

Original issue reported on code.google.com by valleyisletech on 4 Feb 2012 at 11:07

@GoogleCodeExporter
Copy link
Contributor Author

[deleted comment]

@GoogleCodeExporter
Copy link
Contributor Author

Yes.

Original comment by [email protected] on 12 Feb 2012 at 9:57

  • Changed title: Command to reload some configuration values
  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Contributor Author

The ability to reload most configuration values should be do-able.

Original comment by [email protected] on 16 Mar 2012 at 2:36

@GoogleCodeExporter
Copy link
Contributor Author

Set to 'enhancement'.

Original comment by [email protected] on 5 May 2012 at 2:49

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Contributor Author

With the /reloadconfig command, any script (or even internal module for that 
matter) that reads *directly* from the `protocol.config` dict (not cached, 
copied, or inner object references) will see new values as soon as this command 
is invoked.

https://github.com/infogulch/pyspades-userscripts/blob/master/reloadconfig.py

(Should there be an event that scripts could hook into do do extra processing?)

Original comment by [email protected] on 13 Aug 2012 at 2:02

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

1 participant