1
mirror of https://github.com/rclone/rclone synced 2024-11-23 00:06:55 +01:00

docs: remove "After" in automount example

According to [systemd.automount](https://www.freedesktop.org/software/systemd/man/systemd.automount.html) manual

> Note that automount units are separate from the mount itself, so you should 
> not set After= or Requires= for mount dependencies here. 
> For example, you should not set After=network-online.target or 
> similar on network filesystems. Doing so may result in an ordering cycle.
This commit is contained in:
Lorenzo Milesi 2022-09-26 19:11:29 +02:00 committed by GitHub
parent 7e547822d6
commit 27096323db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -354,7 +354,6 @@ optionally accompanied by systemd automount unit
```
# /etc/systemd/system/mnt-data.automount
[Unit]
After=network-online.target
Before=remote-fs.target
[Automount]
Where=/mnt/data