restart_module

Restarts a given module.

This function does not generate an event.

Function

restart_module(name)

Arguments

Argument Type Description
name str (required) Module to restart.

Return value

Returns nil.

Example

This code will reset the counters on a node:

restart_module('DEMO');

Return value in JSON format

null