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

Can i reload config when the server is running? #173

Closed
Raobian opened this issue May 16, 2017 · 3 comments
Closed

Can i reload config when the server is running? #173

Raobian opened this issue May 16, 2017 · 3 comments

Comments

@Raobian
Copy link

Raobian commented May 16, 2017

tks

@dang
Copy link
Contributor

dang commented May 16, 2017

Yes. There are several methods.

  1. You can cause Ganesha to reread config by sending SIGHUP or the DBUS reload command (see ganeshactl reload). This has limitations; it can only add or remove exports, I believe.

  2. You can add and remove exports directly with DBUS commands (see manage_exports.py)

  3. You can update exports in place using DBUS (see manage_exports.py)

@ffilz
Copy link
Member

ffilz commented May 16, 2017

SIGHUP will reload EXPORT and LOG config sections. It will not remove exports (only add or change).

You can also tweak log levels with DBUS

@Raobian Raobian closed this as completed May 17, 2017
@Raobian
Copy link
Author

Raobian commented May 17, 2017

thanks for solving my problem

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

3 participants