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

fix: Use restart for systemd service #1409

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Conversation

cpswan
Copy link
Member

@cpswan cpswan commented Sep 30, 2024

Fixes #1243

- What I did

Use restart rather than start, as this will:

  • Start for the first time when a new daemon ins installed
  • Restart when the daemon is upgraded

- How I did it

Added re into systemctl start after verifying that it would still start the service on first use.

- How to verify it

Run universal.sh to upgrade an existing sshnpd

- Description for the changelog

fix: Use restart for systemd service

@cpswan cpswan self-assigned this Sep 30, 2024
@XavierChanth XavierChanth merged commit 4a47386 into trunk Sep 30, 2024
8 checks passed
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

Successfully merging this pull request may close these issues.

Ensure that universal.sh restarts services after an upgrade
2 participants