ubuntu:systemd:stop_a_service
Ubuntu - Systemd - Stop a service
sudo systemctl stop ssh
You disabled a systemd service, but it somehow started again
To prevent a service from starting manually, use the mask subcommand.
sudo systemctl mask ssh
NOTE: Masked services cannot be started with systemctl start command until it is unmasked.
sudo systemctl unmask ssh
ubuntu/systemd/stop_a_service.txt · Last modified: 2023/06/03 09:18 by peter