2025-12-16 10:20:31 -07:00
|
|
|
# systemctl disable
|
|
|
|
|
|
|
|
|
|
> Desactiva servicios de systemd.
|
2026-02-18 06:55:01 -07:00
|
|
|
> Vea también: `systemctl revert`.
|
|
|
|
|
> Más información: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#disable%20UNIT%E2%80%A6>.
|
2025-12-16 10:20:31 -07:00
|
|
|
|
|
|
|
|
- Evita que un servicio se ejecute al arrancar:
|
|
|
|
|
|
|
|
|
|
`systemctl disable {{unidad}}`
|
|
|
|
|
|
|
|
|
|
- Evita que un servicio se ejecute al arrancar y detiene su ejecución actual:
|
|
|
|
|
|
|
|
|
|
`systemctl disable {{unidad}} --now`
|
|
|
|
|
|
|
|
|
|
- Evita que un servicio de usuario se ejecute al iniciar sesión:
|
|
|
|
|
|
|
|
|
|
`systemctl disable {{unidad}} --user`
|