]> code.ossystems Code Review - openembedded-core.git/commit
systemd-systemctl: Add preset capability
authorKhem Raj <raj.khem@gmail.com>
Sat, 23 Nov 2013 06:28:44 +0000 (22:28 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 14 Dec 2013 09:09:32 +0000 (09:09 +0000)
commit1254416901a0c70814296a86784f4934f27c7d4a
tree1724d6f827edc2210487b7c27f9ac8ce9e7cef13
parent1d005240bcbcca97126bddb1f6d4882ba4d81fa9
systemd-systemctl: Add preset capability

systemd has presets as described here

http://lists.freedesktop.org/archives/systemd-devel/2011-July/002830.html

This patch will let distros define presets file
which will override the enable/disable specified
by recipes.

systemctl preset without any argument will run presents
on all services

systemctl preset service1 service2 will run presets on
specified pervice.

something like enable * or disable *
would mean that all services will be either enabled or
disabled by default.

If no user-presets are specified then 'enable' is default

systemd allows basic globs but we do not implement them
except '*'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/systemd/systemd-systemctl/systemctl