diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2014-07-10 05:18:00 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2014-07-10 10:57:56 -0500 |
commit | 75e06d85584fc3ebfa26fbca97ea60b687247bb0 (patch) | |
tree | cd421b0d674be18065d3da96b10a43c3b910eb82 /sh | |
parent | 1a44be0f16a7a1de8a176e7c656f8513494e0e64 (diff) |
Style Fixes
Diffstat (limited to 'sh')
-rw-r--r-- | sh/runscript.sh.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in index c72a784c..9b2ae0e0 100644 --- a/sh/runscript.sh.in +++ b/sh/runscript.sh.in @@ -216,12 +216,12 @@ fi # Apply cgroups settings if defined if [ "$1" = "start" ] ; then -if [ "$(command -v cgroup_add_service)" = "cgroup_add_service" ]; then - cgroup_add_service /sys/fs/cgroup/openrc - cgroup_add_service /sys/fs/cgroup/systemd/system -fi -[ "$(command -v cgroup_set_limits)" = "cgroup_set_limits" ] && \ - cgroup_set_limits + if [ "$(command -v cgroup_add_service)" = "cgroup_add_service" ]; then + cgroup_add_service /sys/fs/cgroup/openrc + cgroup_add_service /sys/fs/cgroup/systemd/system + fi + [ "$(command -v cgroup_set_limits)" = "cgroup_set_limits" ] && \ + cgroup_set_limits fi # Load our script |