From 2ce42d8d31b6545e978fe18ae6d2afa2e2aae3f5 Mon Sep 17 00:00:00 2001 From: Mikhail Yenuchenko <76039929+mixeme@users.noreply.github.com> Date: Mon, 16 Aug 2021 09:08:51 +0300 Subject: [PATCH] Restart option in unit description is changed to "always". Otherwise, it wouldn't re-mount a cloud storage if any error is occured. --- Systemd-rclone-mount.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Systemd-rclone-mount.md b/Systemd-rclone-mount.md index 4f9fa2c..9ef4839 100644 --- a/Systemd-rclone-mount.md +++ b/Systemd-rclone-mount.md @@ -101,7 +101,7 @@ ExecStartPost=/bin/sh -c "${POST_MOUNT_SCRIPT}" ExecStop=/bin/fusermount -u "${MOUNT_DIR}" #Restart info -Restart=on-success +Restart=always RestartSec=10 [Install]