Remove files from uploading status

This commit is contained in:
Bob Mottram 2018-04-01 19:20:27 +01:00
parent 30f6c1fc58
commit 0ce7a79480
1 changed files with 4 additions and 0 deletions

View File

@ -121,6 +121,10 @@ function peertube_import_from_syncthing {
echo ' fi'; echo ' fi';
echo ' fi'; echo ' fi';
echo ' fi'; echo ' fi';
echo ' else';
echo " if grep \"\$video_file\" /root/.peertube_uploading; then";
echo " sed -i \"/\$video_file/d\" /root/.peertube_uploading";
echo ' fi';
echo ' fi'; echo ' fi';
echo ' fi'; echo ' fi';
echo 'done'; } > /usr/bin/peertubesync echo 'done'; } > /usr/bin/peertubesync