]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/service.c
unit: unify how we assing slices to units
authorLennart Poettering <lennart@poettering.net>
Fri, 28 Aug 2015 15:36:39 +0000 (17:36 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 31 Aug 2015 11:20:43 +0000 (13:20 +0200)
commitd79200e26ee39d4b451f95e876fc4595df51fe51
tree189d23d4acbd47ad7ab0c4711c1eb087bf07f3be
parent35b7ff80e29524cb01f881ca6d52c669970c88f1
unit: unify how we assing slices to units

This adds a new call unit_set_slice(), and simplifies
unit_add_default_slice(). THis should make our code a bit more robust
and simpler.
src/core/dbus-unit.c
src/core/load-fragment.c
src/core/mount.c
src/core/scope.c
src/core/service.c
src/core/socket.c
src/core/swap.c
src/core/unit.c
src/core/unit.h