void-packages/srcpkgs/libcgroup/files/cgred/run

8 lines
248 B
Bash
Executable File

#!/bin/sh
exec 2>&1
# Default logs to syslog with facility DAEMON
# man cgrulesengd for options list and descriptions.
[ -r conf ] && . ./conf
cgconfigparser ${PARSEOPTS:=-l /etc/cgconfig.conf}
exec cgrulesengd ${OPTS:=-s} -g cgred --nodaemon 2>&1