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

Confusion about GRAVITY_STATE_DIR #208

Open
microfuge opened this issue Mar 1, 2024 · 0 comments
Open

Confusion about GRAVITY_STATE_DIR #208

microfuge opened this issue Mar 1, 2024 · 0 comments

Comments

@microfuge
Copy link

Hi I am using this role for 23.2 and previously for 22.05 as well.

For some reason I want a custom location for GRAVITY_STATE_DIR set via galaxy_gravity_state_dir and not the default which is mutable_data_dir/gravity . The file handlers/gravity_23.0.yml tasks don't have the GRAVITY_STATE_DIR set as environment which is still there in handlers/gravity_22.05.yml . The GRAVITY_STATE_DIR is also set by the systemd service file. So the task "galaxy gravity restart" actually creates files in mutable_data_dir/gravity (default location). However systemd service creates these files in GRAVITY_STATE_DIR . Resulting in two socket and supervisor files in 2 locations.

Adding the GRAVITY_STATE_DIR to gravity_23.0.yml solves the issue in testing.

I would be grateful for your advice

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