From f95db224741e72163d7376479ab39decb6b3ad4f Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Thu, 25 Nov 2021 11:53:03 +0100 Subject: [PATCH] Fix Monit rule to watch sshfs mount --- profiles/backend.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/backend.nix b/profiles/backend.nix index 958674c..053ce2a 100644 --- a/profiles/backend.nix +++ b/profiles/backend.nix @@ -34,7 +34,7 @@ allow localhost check file nextcloud-data-mounted with path /var/lib/nextcloud/data/index.html - if does not exist then exec "${pkgs.systemd}/bin/systemctl restart var-lib-nextcloud-data.mount" + start = "${pkgs.systemd}/bin/systemctl start var-lib-nextcloud-data.mount" ''; };