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

Reloading authorization file #19

Open
ghost opened this issue May 24, 2016 · 3 comments
Open

Reloading authorization file #19

ghost opened this issue May 24, 2016 · 3 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented May 24, 2016

Right now you need to restart the server in order to reload any changes made to the authorization file, it would be great if you could reload the file without restarting. 😄

@ohlidalp
Copy link
Member

Good idea.

Since the server is a single running process/service(windows)/daemon?(linux), this would best be done by monitoring the file for changes and reloading it automatically. I've never done that, but seems simple enough

@ohlidalp ohlidalp self-assigned this May 25, 2016
@Strykr1
Copy link

Strykr1 commented May 25, 2016

It's already been done by neorej16: http://i.imgur.com/r5s4K1D.png
Crude system but works semi-well. Can't remember if he said whether or not it persists over server restarts.

@ghost
Copy link
Author

ghost commented Jun 6, 2016

All that script does is change the authorization for one user, and will remove it once the user leaves. It doesn't touch the local authorization file.

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

No branches or pull requests

3 participants