I installed a azure deploy agent on a Ubuntu server. The agent works fine but won't come up after reboot the machine. How to run it as a demon?
Asked
Active
Viewed 526 times
1 Answers
0
The agent works fine but won't come up after reboot the machine. How to run it as a demon?
You could try to install the agent as a systemd service instead of interactively.
Please check the document Run as a systemd service for some more details.
Alternatively, you could use crontab -e
to create your cron jobs.
-
svc,sh script need some tweaking for my ubuntu version but crontab is good enough – MiguelSlv Aug 17 '21 at 08:17