From c3608471cd4f6808ed90d4185eda9424cf25e6ab Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 2 May 2007 12:33:56 +0000 Subject: SSD_NICELEVEL can now affect the nicelevel for daemons started by start-stop-daemon, #175397. --- conf.d/rc | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'conf.d') diff --git a/conf.d/rc b/conf.d/rc index 8ea03b4f..9e3998c5 100644 --- a/conf.d/rc +++ b/conf.d/rc @@ -74,15 +74,8 @@ RC_FORCE_AUTO="no" # really want them to work on a global basis. # Some daemons are started and stopped via start-stop-daemon. -# We can launch them through other daemons here, for example valgrind. -# This is only useful for serious debugging of the daemon -# WARNING: If the script's "stop" function does not supply a PID file then -# all processes using the same daemon will be killed. -#RC_DAEMON="/usr/bin/valgrind --tool=memcheck --log-file=/tmp/valgrind.syslog-ng" - -# strace needs to be prefixed with --background as it does not detach when -# it's following -#RC_DAEMON="--background /usr/sbin/strace -f -o /tmp/strace.syslog-ng" +# We can set some things on a per service basis, like the nicelevel. +#export SSD_NICELEVEL="-19" # Pass ulimit parameters #RC_ULIMIT="-u 30" @@ -91,3 +84,4 @@ RC_FORCE_AUTO="no" #RC_NEED="openvpn" #RC_USE="net.eth0" + -- cgit v1.2.3