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
1 Asked on December 21, 2021 by westfarmer
2 Asked on December 19, 2021
1 Asked on December 19, 2021 by aditya-ultra
2 Asked on December 19, 2021 by viscosity
3 Asked on December 19, 2021 by nia
1 Asked on December 19, 2021 by whitewind
10 Asked on December 17, 2021 by frickskit
5 Asked on December 17, 2021 by weston-ganger
2 Asked on December 17, 2021
1 Asked on December 17, 2021 by srajan-soni
2 Asked on December 17, 2021 by rick-leloup
Get help from others!
Recent Answers
© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP