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

Installer: add support for algoh to systemd installs #6102

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

onetechnical
Copy link
Contributor

Summary

The systemd setup right now does not support algoh installs, which can be useful for additional diagnostic information. This PR will replace launching algod with algoh.

Usage (e.g.):

./systemd-setup.sh -H ubuntu ubuntu

The -H option has to come first. This will replace occurences of algod with algoh in the systemd file.

Note that because of this, output from algod would no longer be recorded to syslog. This should be fine, because algoh usage is typically for servers that have enabled telemetry, and node.log remains in use.

Test Plan

Verified installation works both with and without -H. Verified killing algoh or algod restores service.

Copy link

codecov bot commented Aug 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.90%. Comparing base (23a04c2) to head (9efeafd).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6102      +/-   ##
==========================================
- Coverage   56.25%   55.90%   -0.35%     
==========================================
  Files         490      490              
  Lines       69699    69699              
==========================================
- Hits        39206    38967     -239     
- Misses      27825    28061     +236     
- Partials     2668     2671       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@algorandskiy algorandskiy merged commit 8e2e2e4 into algorand:master Aug 15, 2024
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants