SKS OCDoc
OpenComputers
Computronics
Minitel

lib/rc.lua

rc.start(name^string^, ...): boolean, string

Stops service name, supplying ... to the stop function. Returns false and a reason if this fails.

rc.load(name^string^, force^boolean^): table

Attempts to load service name, and if force is true, replaces the current instance.

rc.stop(name^string^, ...): boolean, string

Stops service name, supplying ... to the stop function. Returns false and a reason if this fails.

rc.disable(name^string^)

Disables service name being started on startup.

rc.enable(name^string^)

Enables service name being started on startup.

rc.restart(name^string^)

Restarts service name using rc.stop and rc.start.

© ShadowKat Studios
The software used to generate this page is licensed under the Mozilla Public License version 2 and can be found here