I am using AWS Linux machine to host Web API application. I need to make my application keep on run, so that i need systemd has to be installed on my linux machine.I tried sudo yum install systemd but it gives No package systemd available.
My AWS system details are given below,
NAME="Amazon Linux AMI"
PRETTY_NAME="Amazon Linux AMI 2018.03"
Is there any option to manually install systemd to my linux system?
Thanks in advance
I need to make my application keep on run, so that i need systemd has to be installed on my linux machine
As others have noted,
systemd is not available for your version of Amazon Linux. Fortunately, there are other tools than
systemd that solve your problem; I suggest looking at
cron. You might take a look at this answer for how to set a program or script to run on reboot on an Amazon Linux box. Alternatively, there's always the cron man page, which sould also be on your machine.
Correct answer by Jonathan Holmes on November 1, 2020
Get help from others!