diff options
author | Peter Palfrader <peter@palfrader.org> | 2005-02-04 12:25:39 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2005-02-04 12:25:39 +0000 |
commit | 6e7007bfba6ea58e753eb1fa779d2793329cfab4 (patch) | |
tree | 6adee5a873800bac431a3e5a7751e1a2b3265626 /debian/tor.init | |
parent | de71abd23845232dba768fa55df3cbbecdef564c (diff) | |
download | tor-6e7007bfba6ea58e753eb1fa779d2793329cfab4.tar.gz tor-6e7007bfba6ea58e753eb1fa779d2793329cfab4.zip |
Add a snippet to set nice level in etc/default/tor
svn:r3558
Diffstat (limited to 'debian/tor.init')
-rw-r--r-- | debian/tor.init | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/tor.init b/debian/tor.init index bd32a0dd09..0f1cb36246 100644 --- a/debian/tor.init +++ b/debian/tor.init @@ -11,6 +11,7 @@ DEFAULTSFILE=/etc/default/$NAME WAITFORDAEMON=35 ARGS="" MAX_FILEDESCRIPTORS=4096 +NICE="" test -x $DAEMON || exit 0 @@ -54,6 +55,7 @@ case "$1" in start-stop-daemon --start --quiet --oknodo \ --chuid debian-tor:debian-tor \ --pidfile $TORPID \ + $NICE \ --exec $DAEMON -- $ARGS echo "done." fi |