diff --git a/src/freedombone-app-peertube b/src/freedombone-app-peertube
index 4efbc9c2a9e9b475bec95d386e7abe568edd9c05..bd1e922a707f572ee2cc58c46ee336e24f19be9e 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)";