Changes between Version 11 and Version 12 of UserGuide/Service/systemd


Ignore:
Timestamp:
12/06/2016 10:28:42 AM (7 years ago)
Author:
Cas
Comment:

change from requiresmount to requires & after

Legend:

Unmodified
Added
Removed
Modified
  • UserGuide/Service/systemd

    v11 v12  
    163163}}} 
    164164 
    165 Modify the `deluged.service` script by adding the following lines, changing `xyz.mount` for the selected mount from above command: 
     165Modify the `[Unit]` section of the `deluged.service` script. Changing `xyz.mount` for the mount from the above command: 
    166166{{{ 
    167 # Unit starts after the following mounts are available. 
    168 RequiresMountsFor=xyz.mount  
     167[Unit] 
     168Description=Deluge Bittorrent Client Web Interface 
     169# Unit starts after network and specified mounts are available. 
     170After=network-online.target xyz.mount 
     171Requires=xyz.mount 
    169172# Unit is stopped when any of these mounts disappear. 
    170173BindsTo=xyz.mount 
    171174}}} 
    172175 
     176Reference: [https://www.freedesktop.org/software/systemd/man/systemd.unit.html#RequiresMountsFor= systemd.unit]