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

DietPi-Software | Webmin: Add support for internal restart #4331

Merged
merged 3 commits into from
May 3, 2021
Merged

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented May 2, 2021

Status: Ready

Testing:

  • Stretch
  • Buster
  • Bullseye

Commit list/description:

  • DietPi-Software | Webmin: Add support for internal restart by not letting the systemd unit guessing the main process ID anymore. Webmin spawns a new process, if a settings change triggers a restart internally, which makes systemd kill the whole control group, as the original process, guessed as main process, is not running anymore. With this change, there is no main process and systemd will only see the service as "exited" when all processes of the control group are dead. This way no automatic restart loop is required.
  • DietPi-Software | Webmin: Enable service reload via new (?) reload executable
  • DietPi-Software | Docker: The official APT repository has now a Bullseye suite, hence use it
  • DietPi-Software | Align code and comments when 3rd party repositories are used

+ DietPi-Software | Webmin: Add support for internal restart by not letting the systemd unit guessing the main process ID anymore. Webmin spawns a new process, if a settings change triggers a restart internally, which makes systemd kill the whole control group, as the original process, guessed as main process, is not running anymore. With this change, there is no main process and systemd will only see the service as "exited" when all processes of the control group are dead. This way no automatic restart loop is required.
+ DietPi-Software | Webmin: Enable service reload via new (?) reload executable
+ DietPi-Software | Docker: The official APT repository has now a Bullseye suite, hence use it
+ DietPi-Software | Align code and comments when 3rd party repositories are used
@MichaIng MichaIng added this to the v7.2 milestone May 2, 2021
@MichaIng MichaIng requested a review from Joulinar May 2, 2021 20:29
@MichaIng MichaIng changed the title v7.2 DietPi-Software | Webmin: Add support for internal restart May 2, 2021
@MichaIng MichaIng linked an issue May 2, 2021 that may be closed by this pull request
MichaIng added 2 commits May 2, 2021 22:39
+ DietPi-Software | Webmin: Add journalctl identifier to service to replace "perl"
+ DietPi-Software | Webmin: Error-handle uninstall steps, but allow to proceed in case or error (G_EXEC_NOEXIT=1)
+ CHANGELOG | Webmin: Resolved an issue where restarts from the web interface only stopped the service
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.

DietPi-Software | Webmin: Add support for internal restart
1 participant