Hostxpeed
Login Get Started →
Getting Started

How to Start/Stop/Restart a Service

4 min read
20 views
Jun 10, 2026

Prerequisites

Before managing services, make sure you have:

  • SSH access to your VPS
  • Root or sudo privileges

Basic Service Commands

Connect to your VPS:

ssh hxroot@YOUR_SERVER_IP -p 22

Start a service:

sudo systemctl start nginx

Stop a service:

sudo systemctl stop nginx

Restart a service:

sudo systemctl restart nginx

Reload configuration (without restart):

sudo systemctl reload nginx

Check Service Status

sudo systemctl status nginx

Enable/Disable Auto-start

Enable service on boot:

sudo systemctl enable nginx

Disable service on boot:

sudo systemctl disable nginx

Common Services

  • nginx - Web server
  • mysql or mariadb - Database
  • ssh or sshd - SSH server
  • ufw - Firewall
  • fail2ban - Security

✅ You can now manage systemd services on your VPS.

Was this article helpful?