A Windows service is the equivalent of a UNIX daemon. It is a process that provides one or more facilities to client processes.
Starting and Stopping Services
sudo systemctl list-units --type=service --state running || List all running services
sudo systemctl start <service_name> || Starts a service.
sudo systemctl stop <service_name> || Stops a service.
sudo systemctl restart <service_name> || Restarts a service.
sudo systemctl enable <service_name> || Configures a service to start automatically at boot.
sudo systemctl disable <service_name> || Prevents a service from starting automatically at boot.
sudo systemctl status <service_name> || Shows the current status of a service.
Top comments (0)