Restart option in unit description is changed to "always". Otherwise, it wouldn't re-mount a cloud storage if any error is occured.

Mikhail Yenuchenko 2021-08-16 09:08:51 +03:00
parent 7897bb94bc
commit 2ce42d8d31

@ -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]