From 90c9b3f44da2ffc749e27736bee096fe7f8e7a24 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Mon, 2 Apr 2018 16:10:27 +0100
Subject: [PATCH] Keep the lock file in tmp

---
 src/freedombone-app-peertube | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedombone-app-peertube b/src/freedombone-app-peertube
index 4efbc9c2a..bd1e922a7 100755
--- a/src/freedombone-app-peertube
+++ b/src/freedombone-app-peertube
@@ -65,7 +65,7 @@ function peertube_import_from_syncthing {
 
     { echo '#!/bin/bash';
       echo '';
-      echo 'LOCKFILE=/root/.peertube.lock';
+      echo 'LOCKFILE=/tmp/.peertube.lock';
       echo '';
       echo 'if [ -f /root/.peertube.lock ]; then';
       echo "    lockctr=\$(cat \$LOCKFILE)";
-- 
GitLab