Changes between Version 4 and Version 5 of UserGuide/Service/systemd


Ignore:
Timestamp:
08/14/2015 07:58:39 PM (9 years ago)
Author:
Cas
Comment:

Update to use network-online.target and restart on-failure

Legend:

Unmodified
Added
Removed
Modified
  • UserGuide/Service/systemd

    v4 v5  
    22 
    33Firstly ensure Deluge daemon `deluged` and Web UI `deluge-web` are [wiki:Installing/Linux installed]. 
     4 
     5'''Note:''' Improvements to propagate from [wiki:UserGuide/Service/Upstart/ Upstart] still: deluge-web starting upon deluged starting and filesystems are mounted e.g. `local-fs.target` and `remote-fs.target`. 
    46 
    57== User Management == 
     
    4042{{{ 
    4143[Unit] 
    42 Description=Deluge Bittorrent Client Daemon  
    43 After=network.target 
     44Description=Deluge Bittorrent Client Daemon 
     45After=network-online.target 
    4446 
    4547[Service] 
     
    5153ExecStart=/usr/bin/deluged -d 
    5254 
    53 Restart=always 
     55Restart=on-failure 
     56 
    5457TimeoutStopSec=300 
    5558 
     
    7073[Unit] 
    7174Description=Deluge Bittorrent Client Web Interface 
    72 After=network.target 
     75After=network-online.target 
    7376 
    7477[Service] 
     
    8184ExecStart=/usr/bin/deluge-web 
    8285 
    83 Restart=always 
     86Restart=on-failure 
    8487 
    8588[Install] 
     
    9295systemctl status deluge-web 
    9396}}} 
    94  
    95 Note: Both these service scripts should be updated so that deluge-web starts on deluged service and both respawn, the same as [wiki:UserGuide/InitScript/ upstart scripts]. 
    9697 
    9798== Enable the service on boot ==