Changes between Version 7 and Version 8 of UserGuide/Service/FreeBSD


Ignore:
Timestamp:
08/24/2014 02:37:09 AM (10 years ago)
Author:
polygonica
Comment:

More small problems + bug with local deluge-console login fixed

Legend:

Unmodified
Added
Removed
Modified
  • UserGuide/Service/FreeBSD

    v7 v8  
    11= FreeBSD Init Script = 
     2These scripts assume that the deluged daemon has been run once by a user named "deluge" with home directory "deluge". 
    23== Deluged == 
    34 
     
    1920#       deluged_enable="YES" 
    2021# 
     22# cfg_dir (str):        Specify the full path to directory with deluged config files 
    2123# log (str):            Specify the full path to the LOG file 
    2224# loglevel (str):       Set loglevel (Available: none, info, warning, error, critical, debug) 
    2325# pidfile (str):        Specify the full path to the PID file 
    24 # cfg_dir (str):        Specify the full path to directory with deluged config files 
    2526# deluged_user (str):   Set to user running deluged 
    2627# 
     
    3536deluged_enable=${deluged_enable:=NO} 
    3637 
    37 log="/home/deluge/${name}.log" 
     38cfg_dir="/home/deluge/.config/deluge/" 
     39log="${cfg_dir}${name}.log" 
    3840loglevel="error" 
    39 pidfile="/home/deluge/${name}.pid" 
    40 cfg_dir="/home/deluge/.config/" 
    41 deluged_user="nobody" 
     41pidfile="${cfg_dir}${name}.pid" 
     42deluged_user="deluge" 
    4243 
    4344required_dirs=${cfg_dir} 
     
    6566fi 
    6667} 
    67   
    68   
    6968run_rc_command "$1" 
    7069}}} 
     
    8988#       delugew_enable="YES" 
    9089# 
     90# cfg_dir (str):        Specify the full path to directory with deluge-web config files 
    9191# log (str):            Specify the full path to the LOG file 
    9292# pidfile (str):        Specify the full path to the PID file 
    93 # cfg_dir (str):        Specify the full path to directory with delugew config files 
    9493# delugew_user (str):   Set to user running deluge-web 
    9594# 
    96 #  Warning! Rights to folders and files must be "rwx" for the user under which delugew is run 
     95#  Warning! Rights to folders and files must be "rwx" for the user under which deluge-web is run 
    9796. /etc/rc.subr 
    9897  
     
    103102delugew_enable=${delugew_enable:=NO} 
    104103 
    105 log="/home/deluge/${name}.log" 
    106 pidfile="/home/deluge/${name}.pid" 
    107 cfg_dir="/home/deluge/.config/" 
    108 delugew_user="nobody" 
     104cfg_dir="/home/deluge/.config/deluge/" 
     105log="${cfg_dir}${name}.log" 
     106pidfile="${cfg_dir}${name}.pid" 
     107delugew_user="deluge" 
    109108 
    110109required_dirs=${cfg_dir}