mirror of
https://github.com/outbackdingo/sysadm.git
synced 2026-01-27 10:20:26 +00:00
437b3d76f3bdbefd547245fbf4072c99c67530ef
REST Request:
-------------------------------
PUT /sysadm/iocage
{
"action" : "stopjail",
"jail" : "test"
}
REST Response:
-------------------------------
{
"args": {
"stopjail": {
"test": {
"* Stopping 0bf985de-ca0f-11e5-8d45-d05099728dbf (test)": "",
"+ Removing jail process OK": "",
"+ Running post-stop OK": "",
"+ Running pre-stop OK": "",
"+ Stopping services OK": ""
}
}
}
}
WebSocket Request:
-------------------------------
{
"args" : {
"jail" : "test",
"action" : "stopjail"
},
"namespace" : "sysadm",
"id" : "fooid",
"name" : "iocage"
}
WebSocket Response:
-------------------------------
{
"args": {
"stopjail": {
"test": {
"INFO": " 0bf985de-ca0f-11e5-8d45-d05099728dbf (test) is already down"
}
}
},
"id": "fooid",
"name": "response",
"namespace": "sysadm"
}
sysadm
Official repo for PC-BSD's sysadm utility and websocket server
This repo contains all the Qt5 code necessary to build the following:
sysadm-daemon - Backend daemon which handles all middleware / library
requests and functionality
sysadm-ws - Websocket server, which handles incoming requests
for both remote and local wss:// connections
sysadm - Command line interface to send/recv json requests
Description
Languages
C++
85.6%
Shell
12.7%
C
0.8%
QMake
0.6%
JavaScript
0.2%