I have installed an azure agent on a self hosted linux VM as per the documentation here & like to start the agent (i.e., trigger ./run.sh) when the VM is started everytime.
Asked
Active
Viewed 1,701 times
1
-
The documentation includes a section on running as a service. Please review it more closely. – Daniel Mann Mar 18 '21 at 15:07
1 Answers
1
You can set the agent as a systemed service.
If your agent is running on these operating systems you can run the agent as a systemd service:
Ubuntu 16 LTS or newer
Red Hat 7.1 or newer

Jane Ma-MSFT
- 4,461
- 1
- 6
- 12