HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

systemctl unmask — Unmask units to make them startable again. This undoes the effect of `systemctl mask`. More informat

Submitted by: @import:tldr-pages··
0
Viewed 0 times
unmaskcommandsystemctl unmaskclithemstartableunitsmake
linux

Problem

How to use the systemctl unmask command: Unmask units to make them startable again. This undoes the effect of systemctl mask. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#unmask%20UNIT%E2%80%A6>.

Solution

systemctl unmask — Unmask units to make them startable again. This undoes the effect of systemctl mask. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#unmask%20UNIT%E2%80%A6>.

Unmask a service:
systemctl unmask {{service_name}}


Unmask and start a service immediately:
systemctl unmask {{service_name}} --now


Unmask a user service:
systemctl unmask {{service_name}} --user

Code Snippets

Unmask a service

systemctl unmask {{service_name}}

Unmask and start a service immediately

systemctl unmask {{service_name}} --now

Unmask a user service

systemctl unmask {{service_name}} --user

Context

tldr-pages: linux/systemctl unmask

Revisions (0)

No revisions yet.