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

gaiad.toml fixes breaks running gaia in chroot #3235

Closed
mdyring opened this issue Jan 5, 2019 · 2 comments
Closed

gaiad.toml fixes breaks running gaia in chroot #3235

mdyring opened this issue Jan 5, 2019 · 2 comments

Comments

@mdyring
Copy link

mdyring commented Jan 5, 2019

#3172 breaks running gaia in a systemd "chroot".

Previously this worked:

...
[Service]
User=gaia-daemon
RootDirectory=/opt/gaia
WorkingDirectory=/
ExecStart=/bin/gaiad start --home /
...

Only way to make this work after the changes are:

[Service]
User=gaia-daemon
WorkingDirectory=/opt/gaia
ExecStart=/opt/gaia/bin/gaiad start --home /opt/gaia
...

For details on RootDirectory see https://www.freedesktop.org/software/systemd/man/systemd.exec.html.

@mdyring
Copy link
Author

mdyring commented Jan 6, 2019

Turns out this might be related to building without LEDGER_ENABLED=0 and not the changes. Will verify shortly.

@mdyring
Copy link
Author

mdyring commented Jan 7, 2019

This was due to the above, silly me. Closing issue.

@mdyring mdyring closed this as completed Jan 7, 2019
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