[Unit]
Description=Deluge Bittorrent Client Daemon
After=network-online.target
RequiresMountsFor=media-Lacie\x2dCloudBox.mount
[Service]
Type=simple
User=pi
Group=deluge
UMask=007
ExecStart=/usr/bin/deluged -d
Restart=on-failure
# Configures the time to wait before service is stopped forcefully.
TimeoutStopSec=300
[Install]
WantedBy=multi-user.target
But after each reboot, my file are in error.
As soon as I force a check, they are back... but annoying because I have a lot of them.
In the unit file you say to start the service only if the mount is present. In the fstab it's not mounted automatically during a reboot.
--> sounds logic to have a failed service on boot and ok when the mount is reachable
Try to replace noauto with auto in your fstab. I guess this drive is necessary for your torrent file, if not simply remove the dependency
I have this error now:
Nov 23 04:20:47 bananapi systemd[1]: [/etc/systemd/system/deluged.service:4] Failed to add required mount for, ignoring: media-Lacie\x2dCloudBox.mount