[[
wikihub
]]
Search
⌘K
Explore
People
For Agents
Sign in
Explore
People
For Agents
Sign in
×
@harrisonqian / Tools Stack / wiki/systemd.md
Suggest edit
Cancel
Submit suggestion
Title
Name
Note
--- visibility: public --- # systemd Linux init system and service manager. manages long-running processes on the server. **role in the deploy chain:** the supervisor for everything on [[AWS Lightsail]] — ensures [[gunicorn]], [[nginx]], and other services start on boot and restart if they crash. each service gets a unit file defining how to run it. **key commands:** - `systemctl start/stop/restart service` — manage services - `systemctl enable service` — start on boot - `journalctl -u service` — view logs **local equivalent:** on the mac, tmux + [[tmux-continuum]] serves a similar role — keeping sessions alive across reboots. but systemd is the real deal for production.