Changes between Version 3 and Version 4 of UserGuide/Service/DebianUbuntuInitd


Ignore:
Timestamp:
09/03/2010 10:59:33 PM (11 years ago)
Author:
daenney
Comment:

change formatting on the logging section

Legend:

Unmodified
Added
Removed
Modified
  • UserGuide/Service/DebianUbuntuInitd

    v3 v4  
    190190 
    191191== Make deluge log something == 
    192  * create a structure for deluge to log to: 
     192Create a structure for deluge to log to: 
    193193{{{ 
    194194sudo mkdir -p /var/log/deluge/daemon 
    195195sudo mkdir /var/log/deluge/web 
    196196}}} 
    197  * give the user that deluge is running as (in this case deluge) write-access to the logs 
     197Give the user that deluge is running as (in this case deluge) write-access to the logs 
    198198{{{ 
    199199sudo chmod -R 755 /var/log/deluge 
    200200sudo chown -R deluge /var/log/deluge 
    201201}}} 
    202  * edit the init-script like so: 
     202Edit the init-script like so: 
    203203{{{ 
    204204#!sh 
     
    208208DAEMON2_ARGS="-L warning -l /var/log/deluge/web/warning.log" 
    209209}}}  
    210 See [wiki:Faq#EnableDelugeLogging Logging] for possible loglevels. 
    211  * restart the daemon: {{{sudo invoke-rc.d deluge-daemon restart}}} 
    212  * tell logrotate to rotate the logs 
     210 * See [wiki:Faq#EnableDelugeLogging Logging] for possible loglevels. 
     211Restart the daemon 
     212{{{ 
     213sudo invoke-rc.d deluge-daemon restart 
     214}}} 
     215Tell logrotate to rotate the logs 
    213216{{{ 
    214217sudo cat > /etc/logrotate.d/deluge << EOF