Services - sirboldilox/Lua-Dev-OS GitHub Wiki

Service file format

All service files are stored under /dev/opt/<service_name> Services that require some form of initialization, (i.e opening specific channels, looking for peripherals) should contain a "start" script under the service folder in /opt/ and have their service name added to the srv.conf file in /dev. The boot loader will then exicute service start scripts, if found, for services listed in the srv.conf file.

Services should then contain a "run" file for executing the full service when there required event has occurred.