Changes between Version 13 and Version 14 of UserGuide/Service/systemd


Ignore:
Timestamp:
03/20/2017 08:38:38 PM (7 years ago)
Author:
Cas
Comment:

use files from git

Legend:

Unmodified
Added
Removed
Modified
  • UserGuide/Service/systemd

    v13 v14  
    4747== Deluge Daemon (deluged) Service == 
    4848Create the file `/etc/systemd/system/deluged.service` containing the following: 
    49 {{{ 
    50 [Unit] 
    51 Description=Deluge Bittorrent Client Daemon 
    52 After=network-online.target 
    5349 
    54 [Service] 
    55 Type=simple 
    56 User=deluge 
    57 Group=deluge 
    58 UMask=007 
     50[[Include(http://git.deluge-torrent.org/deluge/plain/packaging/systemd/deluged.service?h=develop, text/plain)]] 
    5951 
    60 ExecStart=/usr/bin/deluged -d 
    61  
    62 Restart=on-failure 
    63  
    64 # Configures the time to wait before service is stopped forcefully. 
    65 TimeoutStopSec=300 
    66  
    67 [Install] 
    68 WantedBy=multi-user.target 
    69 }}} 
    7052 
    7153 * You may wish to modify the above `umask` as it applies to any files downloaded by deluged. 
     
    8567 
    8668Create the file `/etc/systemd/system/deluge-web.service` containing the following: 
    87 {{{ 
    88 [Unit] 
    89 Description=Deluge Bittorrent Client Web Interface 
    90 After=network-online.target 
    9169 
    92 [Service] 
    93 Type=simple 
    94  
    95 User=deluge 
    96 Group=deluge 
    97 UMask=027 
    98  
    99 ExecStart=/usr/bin/deluge-web 
    100  
    101 Restart=on-failure 
    102  
    103 [Install] 
    104 WantedBy=multi-user.target 
    105 }}} 
     70[[Include(http://git.deluge-torrent.org/deluge/plain/packaging/systemd/deluge-web.service?h=develop, text/plain)]] 
    10671 
    10772Now enable it to start up on boot, start the service and verify it is running: