]> _ Git - fluidbook_processfarm.git/commitdiff
wip #5524 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 21 Feb 2023 19:30:40 +0000 (20:30 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 21 Feb 2023 19:30:40 +0000 (20:30 +0100)
app/bin/mount
app/ping.php

index 5b5a04d1225ff20dd667482951899fd1031f4709..80665edd3a7e8a071b3e0fd54f00e285ce0e02a8 100755 (executable)
@@ -18,4 +18,11 @@ if mountpoint -q "/application/protected/fluidbookpublication"; then
     :
 else
     sshfs -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3 -p 58745 -o uid=33 -o gid=33 -o allow_other toolbox@toolbox.fluidbook.com:/application/protected/fluidbookpublication /application/protected/fluidbookpublication
+fi
+
+mkdir -p /application/usstorage
+if mountpoint -q "/application/usstorage"; then
+    :
+else
+    sshfs -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3 -o uid=33 -o gid=33 -o allow_other fluidbook@kingkong.cubedesigners.com:/home/fluidbook/data/docs /application/usstorage
 fi
\ No newline at end of file
index 9733643727fdba882636b73957626fd3a20265dc..e6f825c9211277dd6da6f1e006917e35a3173d87 100644 (file)
@@ -1,2 +1,2 @@
 <?php
-die(file_exists('/files/status') && file_exists('/usfiles/status') && file_exists('/toolbox/status') ? '1' : '0');
\ No newline at end of file
+die(file_exists('/files/status') && file_exists('/usfiles/status') && file_exists('/application/protected/fluidbookpublication/status') ? '1' : '0');
\ No newline at end of file