mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
* wip: Working on something to help * chore: Add in some of the logging now * chore: fix the type to interned instead of id * wip * wip * chore: fix the logging by moving levels * Apply suggestions from code review * mount at machine id for journal * Persistant * limit log size * feat: Actually logging and mounting now * fix: Get the logs from the previous versions of the boot * Chore: Add the boot id --------- Co-authored-by: Aiden McClelland <me@drbonez.dev>
895 B
895 B
Container RPC SERVER Specification
Methods
init
initialize runtime (mount /proc, /sys, /dev, and /run to each image in /media/images)
called after os has mounted js and images to the container
args
[]
response
null
exit
shutdown runtime
args
[]
response
null
start
run main method if not already running
args
[]
response
null
stop
stop main method by sending SIGTERM to child processes, and SIGKILL after timeout
args
{ timeout: millis }
response
null
execute
run a specific package procedure
args
{
procedure: JsonPath,
input: any,
timeout: millis,
}
response
any
sandbox
run a specific package procedure in sandbox mode
args
{
procedure: JsonPath,
input: any,
timeout: millis,
}
response
any