mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Controller: add help.sh to the Maintenance Scripts.
A new wrolpi-help-script.service oneshot runs /opt/wrolpi/help.sh so the Controller UI can run system diagnostics and show the output from the journal. The confirmation modal hides the warnings block for scripts with no warnings. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
d6b019c24e
commit
e42e4ed06e
4 changed files with 29 additions and 1 deletions
|
|
@ -21,6 +21,14 @@ logger = logging.getLogger(__name__)
|
|||
# - type: "branch" (auto-populates with current git branch) or "text"
|
||||
# - required: Whether the parameter must have a value
|
||||
AVAILABLE_SCRIPTS = {
|
||||
"help": {
|
||||
"name": "help",
|
||||
"display_name": "System Diagnostics",
|
||||
"description": "Runs help.sh which checks WROLPi services, certificates, database, and dependencies."
|
||||
" Read-only; changes nothing.",
|
||||
"service_name": "wrolpi-help-script.service",
|
||||
"warnings": [],
|
||||
},
|
||||
"repair": {
|
||||
"name": "repair",
|
||||
"display_name": "Repair WROLPi",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue