How to Run Prometheus server as a Service?

Step 1 – Create a file: Step 2 – Reload the Systemctl Daemon: Step 3 – Start the Prometheus service: