Cloud & DevOps

systemd & running services

Në shqip: systemd dhe shërbimet

ShpjegimiSQ

Në Linux, systemd nis dhe mban gjallë shërbimet (aplikacionin tënd, Nginx, databazën). systemctl restart app e rinis, dhe journalctl -u app shfaq log-et e tij. Po u rrëzua, e rinis vetë.

EnglishEN

On Linux, systemd starts and keeps services alive (your app, Nginx, the database). systemctl restart app restarts it, and journalctl -u app shows its logs. If it crashes, it restarts it automatically.

Si ta mendosh

Si një kujdestar që sigurohet që çdo makineri në fabrikë punon.

Lexoje në anglisht

Like a caretaker making sure every machine in the factory is running.

Shembull kodibash

sudo systemctl restart fjalori
journalctl -u fjalori -f

Terma të lidhur