diff --git a/Systemd-rclone-mount.md b/Systemd-rclone-mount.md index 812ea1b..61cc678 100644 --- a/Systemd-rclone-mount.md +++ b/Systemd-rclone-mount.md @@ -45,7 +45,7 @@ ExecStartPre=/usr/bin/test -x /usr/bin/rclone #Check the mount directory ExecStartPre=/usr/bin/test -d "${MOUNT_DIR}" ExecStartPre=/usr/bin/test -w "${MOUNT_DIR}" -#TODO: Add test for MOUNT_DIR being empty +#TODO: Add test for MOUNT_DIR being empty -> ExecStartPre=/usr/bin/test -z "$(ls -A "${MOUNT_DIR}")" #Check the rclone configuration file ExecStartPre=/usr/bin/test -f "${RCLONE_CONF}"