systemd

Todo

systemd is:

  • The main multiplexer with binding support.

  • The programs and services manager, providing each program with its own isolated space within the filesystem.

Program management

os.rpc.system.program.set(name, contents)

Add a program with a given name.

Parameters
  • name (str) – Name of the program. Limited to LDH (?).

  • contents (str) – Content of the program, as text.

os.rpc.system.program.get(name)

Get a program’s contents as a string.

os.rpc.system.program.remove(name)

Delete a program with a name.

Service management

os.rpc.system.service.set(name, contents)

Add a service.

os.rpc.system.service.get(name)

Get a service.

os.rpc.system.service.remove(name)

Delete a service.

os.rpc.system.service.start(name)

Start a service.

os.rpc.system.service.stop(name)

Stop a service.

os.rpc.system.service.enable(name)

Enable a service.

os.rpc.system.service.disable(name)

Disable a service.