Unix & Linux Asked by Venkateswaran R on November 1, 2020
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"
VERSION="2018.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2018.03"
PRETTY_NAME="Amazon Linux AMI 2018.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2018.03:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
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!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP