influxdata / influxdata/influxdb
Use systemd preset rather than systemd enable
Open
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
In
https://github.com/influxdata/influxdb/blob/540bb66e1381a48a6d1ede4fc3e49c75a7d9f4af/scripts/post-install.sh#L17
an unconditional `systemctl enable` is performed. Consider making this a `systemctl preset` instead so users can make the choice of enabling / disabling the unit
Contributor guide
Research direction
Start with scripts/post-install.sh at the linked line and inspect how the package installation currently handles the systemd unit. Compare the behavior of systemctl enable and systemctl preset, then verify that installation respects users’ enable or disable choice without breaking service setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, shell
- Domain
- devops, operating-systems
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100