farmbot v6.4.1 Farmbot.System.Init behaviour View Source
Lets write init.d in Elixir!
Link to this section Summary
Functions
OTP Spec
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
Link to this callback
start_link(term, arg1)
View Source
start_link(term(), Supervisor.options()) :: Supervisor.supervisor()
Start an init module. returning {:error, reason} will factory reset the system.