English Portuguese (Brazil)
Activate a service immediately:
Check if a service is enabled or not:
Deactivate a service immediately:
Disable a service to not start during boot:
Enable a service to be started on boot:
Prevent a service from starting dynamically or even manually unless unmasked:
Related Information
Restart a service:
Run `man systemctl` for more details.
Show the status of a service including, whether it is running or not:
Starting, stopping, and querying systemd services
# systemctl disable foo
# systemctl enable foo
# systemctl is-enabled foo
# systemctl mask foo
# systemctl restart foo
# systemctl start foo
# systemctl status foo
# systemctl stop foo
The following commands control the `foo` service: