mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Fix Monit rule to watch sshfs mount
This commit is contained in:
parent
bd2cc9c3dc
commit
f95db22474
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@
|
||||||
allow localhost
|
allow localhost
|
||||||
|
|
||||||
check file nextcloud-data-mounted with path /var/lib/nextcloud/data/index.html
|
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"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue