Changes between Version 11 and Version 12 of UserGuide/Service/systemd
- Timestamp:
- 12/06/2016 10:28:42 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuide/Service/systemd
v11 v12 163 163 }}} 164 164 165 Modify the ` deluged.service` script by adding the following lines, changing `xyz.mount` for the selected mount fromabove command:165 Modify the `[Unit]` section of the `deluged.service` script. Changing `xyz.mount` for the mount from the above command: 166 166 {{{ 167 # Unit starts after the following mounts are available. 168 RequiresMountsFor=xyz.mount 167 [Unit] 168 Description=Deluge Bittorrent Client Web Interface 169 # Unit starts after network and specified mounts are available. 170 After=network-online.target xyz.mount 171 Requires=xyz.mount 169 172 # Unit is stopped when any of these mounts disappear. 170 173 BindsTo=xyz.mount 171 174 }}} 172 175 176 Reference: [https://www.freedesktop.org/software/systemd/man/systemd.unit.html#RequiresMountsFor= systemd.unit]