Changes between Version 1 and Version 2 of UserGuide/Service/FreeBSD


Ignore:
Timestamp:
04/24/2010 12:31:34 PM (12 years ago)
Author:
.faust
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuide/Service/FreeBSD

    v1 v2  
    2323# delugew_user (str):  Set to user running deluge-web 
    2424# cfg_dir (str):            Specify the full path to directory with deluge config files 
     25# loglevel (str):      Set loglevel (Available: none, info, warning, error, critical, debug) 
    2526# 
    2627#  Warning! Rights to folders and files must be "rwx" for the user under which the run deluge  
     
    3536 
    3637log="/home/deluge/${name}.log" 
     38loglevel="error" 
    3739pidfile="/home/deluge/${name}.pid" 
    3840cfg_dir="/home/deluge/config/" 
     
    4850{ 
    4951if [ ! -f "${pidfile}" ]; then 
    50     su -m ${deluged_user} -c "/usr/local/bin/${name} -c ${cfg_dir} -l ${log} -P ${pidfile}" 
     52    su -m ${deluged_user} -c "/usr/local/bin/${name} -c ${cfg_dir} -L ${loglevel} -l ${log} -P ${pidfile} > /dev/null 2>&1" 
    5153    echo "Starting ${name}." 
    5254else