Add a service
Run a Total.js app without a domain, for background work.
On this page
A service is a Total.js app without a web address. SuperAdmin runs it and starts it again when it stops, but writes no Nginx file for it. Use a service for background work, for example a worker that runs tasks on a schedule.
Add the service
- Select Add > Service.
- Type a Service name, for example
Demo worker, and choose a Category. - Clear Enable debug mode for a service in production.
- Select SUBMIT.
- In Upload source-code, upload the code as a ZIP file. See Upload source code.

The service starts the Total.js framework in service mode: it loads the code of the app, for example the files in definitions/, without an HTTP server.
In the list, a service has a pink service badge. Its folder in /www/www/ starts with _service- and the service name.
Memory limit works as for apps. See Application settings.