Mask a service
Prevent a service from being started by anything
systemctl mask snapd.service
- tool
- systemd26 commands
More systemd commands
-
systemctl show myapp.service -p EnvironmentPrint environment variables injected into the service
-
systemd-analyze critical-chain <unit>Show the serialized dependency chain that actually delays boot; more honest than blame
-
systemd-analyze plot > boot.svgRender full parallel boot timeline as an SVG to spot serialized stalls visually
-
systemctl edit <unit> # writes /etc/systemd/system/<unit>.d/override.confPatch a unit via drop-in without touching the vendor file; use --full to fork the whole unit
-
systemctl daemon-reloadReload unit files after editing; note: required after manual edits or systemctl warns of stale config