Service command - Start Aitm as service
You can start Aitm as a service. It will start:
- a web interface
- and a proxy
How to
Start it as background process
Execute the service command
Start it as foreground process to be controlled by a supervisor
Execute the service command with the foreground option
You can then use them in your supervisor (SystemD, Docker, ...).
For instance with SystemD, you need to create the below file in /etc/systemd/system/aitm.service:
Then, you can control the service:
How to use the proxy service in your cli or code
See How to use the service proxy
Start 2 services on one machine
You can start 2 services instance by setting 2 different runtime directories
Configuration
Runtime Directory
By default, the service uses the service runtime directory
Proxy Port
By default, the proxy port
Note
No sandboxing
In this mode, there is no sandboxing as aitm does not start the cli/agent