2025-09-14 18:48:49 -06:00
|
|
|
# systemctl disable
|
|
|
|
|
|
|
|
|
|
> Schakel systemd-services uit.
|
|
|
|
|
> Meer informatie: <https://www.freedesktop.org/software/systemd/man/systemctl.html#disable%20UNIT%E2%80%A6>.
|
|
|
|
|
|
|
|
|
|
- Voorkom dat een service automatisch opstart:
|
|
|
|
|
|
|
|
|
|
`systemctl disable {{eenheid}}`
|
|
|
|
|
|
|
|
|
|
- Voorkom dat een service automatisch opstart en stop de huidige uitvoering:
|
|
|
|
|
|
|
|
|
|
`systemctl disable {{eenheid}} --now`
|
2025-12-16 10:20:31 -07:00
|
|
|
|
|
|
|
|
- Voorkom dat een gebruikersservice automatisch opstart na het inloggen:
|
|
|
|
|
|
|
|
|
|
`systemctl disable {{eenheid}} --user`
|