| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Some parts of the init script are not needed with the recent changes.
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
|
|
|
|
|
|
|
|
| |
libcgroup now provides some tools, which can be used in the init script
instead of bash code.
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
Acked-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
| |
Use cgclear on service cgconfig stop, it's much faster than manual group
removal.
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
Acked-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
IMHO most of users don't need sysdefault group being created during boot -
it's quite slow and at least in Fedora there is no application using it.
So, let users to configure it and allow them to turn the sysdefault off.
Whether the option should be enabled/disabled is distro-specific, we as
libcgroup turn it on.
Changelog:
- create the sysdefault group by default
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
|
|
|
|
|
|
|
| |
Move sysdefault handling to separate function - it simplifies following
patch.
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
|
|
Change the hardcoded paths in initscripts to dynamically generated ones. The
real executable path $bindir can be constructed using $prefix and $exec_prefix
variables, therefore it's necessary to define also these two.
The patch includes removal of old initscripts from git - they are generated
from .in file now.
I did not run autoreconf, I think the generated junk is being removed from git
soon.
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
|