farmbot v6.0.1-alpha Farmbot.System.Init behaviour View Source

Lets write init.d in Elixir!

Link to this section Summary

Callbacks

Start an init module. returning {:error, reason} will factory reset the system

Link to this section Functions

Link to this function fb_init(module, args) View Source
fb_init(atom, [term]) :: Supervisor.Spec.spec

OTP Spec.

Link to this section Callbacks

Start an init module. returning {:error, reason} will factory reset the system.