- cmd fix

This commit is contained in:
Frogg 2026-05-18 23:52:04 +02:00
parent 7b6d0cfe81
commit 9ce80067c4
1 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,7 @@ CMD_LIST_CONFIG_JSON=$(cat <<EOF
"section": "SYSTEM",
"items": [
{"label": "Edit main cron", "cmd": "crontab -e", "bin": "crontab"},
{"label": "Restart service", "cmd": "/etc/init.d/\${name} restart"},
{"label": "Restart service", "cmd": "/etc/init.d/service_name restart"},
{"label": "Display journal", "cmd": "journalctl -xe", "bin": "journalctl"},
{"label": "Reload .bashrc", "cmd": "source ~/.bashrc"}
]
@ -67,7 +67,6 @@ CMD_LIST_CONFIG_JSON=$(cat <<EOF
{"label": "Restart VM", "cmd": "pct stop ID && pct start ID","bin": "pct"}
]
}
]
EOF
)