aboutsummaryrefslogblamecommitdiffstats
path: root/community/cgmanager/cgmanager.initd
blob: f6e106182136b583e7293deb6064816730a6c43f (plain) (tree)
1
2
3
4
5
6
7
8
                  
 


                                      
                     
 
                           


                                                       
                              

          
                    
                      
 
#!/sbin/openrc-run

name="cgroups manager"
description="Daemon to manage cgroups"

: ${retry:="TERM/45"}

command=/usr/sbin/cgmanager
# $OPTIONS is here for backward compatibility only
command_args="${command_args:-$OPTIONS} -m name=system"
command_background=yes
pidfile="/run/$RC_SVCNAME.pid"

depend() {
	need cgroups
	before cgproxy
}