systemctl mask
Link units to
/dev/nullso that they cannot be started. See also:systemctl revert. More information: https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#mask UNIT….
- Mask a service:
systemctl mask
- Ensure that the service is shut down while masking:
systemctl mask --now
- Mask a user service:
systemctl mask --user
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
