Changes between Version 8 and Version 9 of UserGuide/Service/systemd


Ignore:
Timestamp:
05/18/2016 10:18:18 AM (8 years ago)
Author:
Cas
Comment:

add mount info

Legend:

Unmodified
Added
Removed
Modified
  • UserGuide/Service/systemd

    v8 v9  
    153153} 
    154154}}} 
     155 
     156== Start `deluged` only if mount exists == 
     157 
     158If you have a usb disk drive or network drive that may not be immediately available to the `deluged`. The following additions wait for those mountpoints before starting `deluged`. 
     159 
     160Ensure you have added the correct drive details to `fstab` or equivalent so they are mounted at boot. List the available drive mounts like so: 
     161{{{ 
     162systemctl -t mount 
     163}}} 
     164 
     165Modify the `deluged.service` script by adding the following lines, changing `xyz.mount` for the selected mount from above command: 
     166{{{ 
     167# Unit starts after the following mounts are available. 
     168RequiresMountsFor=xyz.mount  
     169# Unit is stopped when any of these mounts disappear. 
     170BindsTo=xyz.mount 
     171}}} 
     172