Ravi Sir's Cards › AWS
A unit file in 4 steps
This revision card explains A unit file in 4 steps. It starts from the need that run your own app as a service. It describes [Unit] [Service] [Install]. The how-to section notes restart=on-failure keeps it up. An example on the card is reload after editing.
Read card text
What this card says
Why do we need it?
Run your own app as a service.
What is it?
[Unit] [Service] [Install].
How to do it
Restart=on-failure keeps it up.
Example
Reload after editing.
sudo systemctl daemon-reload