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


Ignore:
Timestamp:
03/25/2012 02:35:45 PM (10 years ago)
Author:
kit
Comment:

Added TOC

Legend:

Unmodified
Added
Removed
Modified
  • UserGuide/Service/Upstart

    v1 v2  
    11= Ubuntu Upstart Job = 
    22 
     3[[PageOutline(2-10,Ubuntu Upstart Job)]] 
    34Based on the previous Ubuntu scripts [http://dev.deluge-torrent.org/wiki/UserGuide/InitScript/Ubuntu/ here]. 
    45 
     
    3435If you followed the old guide to make an init script, remove it: 
    3536{{{ 
    36 #!sh 
    3737sudo /etc/init.d/deluge-daemon stop 
    3838sudo rm /etc/init.d/deluge-daemon 
     
    4242==== Start deluge ==== 
    4343{{{ 
    44 #!sh 
    4544sudo start deluge 
    4645}}} 
    4746 
    4847==== Web UI ==== 
    49  * To prevent the web-ui starting automatically after deluge just remove the 'start on' line from deluge-web.conf. The web-ui can then be started (and stopped) manually with: 
     48 * To prevent the web-ui starting automatically after deluge, just remove the 'start on' line from deluge-web.conf. The web-ui can then be started (and stopped) manually with: 
    5049{{{ 
    51 #!sh 
    5250sudo start deluge-web # sudo stop deluge-web 
    5351}}} 
     
    5755Create a structure for deluge to log to: 
    5856{{{ 
    59 #!sh 
    6057sudo mkdir -p /var/log/deluge 
    6158}}} 
    6259Give the user that deluge is running as (in this case deluge) write-access to the logs: 
    6360{{{ 
    64 #!sh 
    6561sudo chmod -R 755 /var/log/deluge 
    6662sudo chown -R deluge /var/log/deluge