Web lists-archives.com

Re: shell script problem




On Tue, Feb 05, 2019 at 11:51:42AM -0700, ghe wrote:
> I'd still like to know what 'mask' means in systemd.

>From man systemctl:

       mask NAME...
           Mask one or more units, as specified on the command line. This will
           link these unit files to /dev/null, making it impossible to start
           them. This is a stronger version of disable, since it prohibits all
           kinds of activation of the unit, including enablement and manual
           activation. Use this option with care. This honors the --runtime
           option to only mask temporarily until the next reboot of the
           system. The --now option may be used to ensure that the units are
           also stopped. This command expects valid unit names only, it does
           not accept unit file paths.