From 6daf4f9001d87da9e92c04ff606b454c209f0951 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 8 Oct 2010 18:21:52 +0200 Subject: unit: rename 'banned' load state to 'masked' --- man/systemd.unit.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'man') diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index c3c9561f2f..e59c1a16c4 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -190,6 +190,14 @@ string before the @, i.e. "getty" in the example above, where "tty3" is the instance name. + If a unit file is empty (i.e. has the file size + 0) or is symlinked to /dev/null + its configuration will not be loaded and it appears + with a load state of masked, and + cannot be activated. Use this as an effective way to + fully disable a unit, making it impossible to start it + even manually. + The unit file format is covered by the Interface -- cgit v1.2.3-54-g00ecf