SiaFoundation / SiaFoundation/linux
Option to ask/not overwrite previous hostd.service
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3
- Forks
- 1
- Avg merge
- 58m
- Merged PRs (30d)
- 11
Description
Hi, currently everytime hostd upgrade, it will overwrite hostd.service file in /etc/systemd/system/hostd.service file.
I believe there are better options:
- Show user the diff / ask user what to do with it.
- When upgrade in non interactive mode - it should left previous hostd.service version untouch and maybe create hostd.service-dpkg file (for newer version - I'm not sure what is the best practice on debian).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing how the Debian package installs and upgrades /etc/systemd/system/hostd.service, including behavior in interactive and non-interactive upgrades. Compare Debian's handling of locally modified configuration files with the requested alternatives. Done means the upgrade behavior is defined for both modes and avoids silently overwriting a customized service file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- debian
- Domain
- infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100