Keep the lock file in tmp

This commit is contained in:
Bob Mottram 2018-04-02 16:10:27 +01:00
parent 28acc2de99
commit 90c9b3f44d
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ function peertube_import_from_syncthing {
{ echo '#!/bin/bash'; { echo '#!/bin/bash';
echo ''; echo '';
echo 'LOCKFILE=/root/.peertube.lock'; echo 'LOCKFILE=/tmp/.peertube.lock';
echo ''; echo '';
echo 'if [ -f /root/.peertube.lock ]; then'; echo 'if [ -f /root/.peertube.lock ]; then';
echo " lockctr=\$(cat \$LOCKFILE)"; echo " lockctr=\$(cat \$LOCKFILE)";