Docs:02.3 Systemctl and autotmation

This page was last edited on 2 March 2025, at 20:23.

All the NGINX configuration we just setup should be saved and good to go. Next time we boot our server (if for any reason it shuts down) we want the server to be able to access and serve our website without manually starting NGINX.

Luckily NGINX does this by default, but here is how it works:

systemctl enable nginx

To check if it is running:

service nginx status