Ravi Sir's Cards › AWS
nohup vs systemd service
This comparison card contrasts nohup and systemd service. nohup is described as survives logout. systemd service is described as managed and restarted. The card pairs nohup with quick one-off, and systemd service with anything long-term.
Read card text
What this card says
Long jobs
nohup
Survives logout.
systemd service
Managed and restarted.
Key points
No restart.
Logs in journald.
Example
nohup job.sh &
Use when
Quick one-off.
Anything long-term.