openrc/sh
Alexander V Vershilov 1a44be0f16 cgroups: only run cgroup setup when starting a service
Status call should not set limits as it requires root permissions,
also this is not safe, as current process may reach limitation.

Solution is to set limits and move process to service cgroup only
on start.

X-GENTOO-BUG: 500364
X-GENTOO-BUG-URL: https://bugs.gentoo.org/show_bug.cgi?id=500364
2014-07-10 10:56:37 -05:00
..
.gitignore Merge init-common-post code into BSD init script 2014-01-11 13:32:43 -06:00
cgroup-release-agent.sh.in Fix quoting in cgroup-release-agent 2013-06-16 14:22:23 -05:00
functions.sh.in functions.sh: yesno: (mostly) fix eval logic 2013-11-30 16:33:31 -05:00
gendepends.sh.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
init-early.sh.Linux.in remove type command 2013-12-02 02:08:40 -06:00
init.sh.BSD.in Merge init-common-post code into BSD init script 2014-01-11 13:32:43 -06:00
init.sh.Linux.in init-Linux.sh: do not mount /run with nosuid 2014-01-18 02:34:39 -06:00
Makefile Merge init-common-post code into BSD init script 2014-01-11 13:32:43 -06:00
migrate-to-run.sh.in migrate-to-run: fix test for successful migration 2013-04-03 11:25:19 -05:00
rc-cgroup.sh.in fix cgroup_cleanup function 2013-09-27 15:55:46 -05:00
rc-functions.sh.in rc-functions.sh: add ceph to net fs list 2013-01-16 22:17:45 -05:00
rc-mount.sh remove type command 2013-12-02 02:08:40 -06:00
runscript.sh.in cgroups: only run cgroup setup when starting a service 2014-07-10 10:56:37 -05:00
runtests.sh make shell math operations style more succulent 2011-11-19 02:25:36 -05:00
tmpfiles.sh.in tmpfiles.sh: fix comment processing 2014-06-20 19:39:07 -05:00