]> Sergey Matveev's repositories - uploader.git/blobdiff - README
daemontools instead of rc.d
[uploader.git] / README
diff --git a/README b/README
index 053829e016dd7385e3306c272f42460c229c04ce..30e9c388c190be3d441bc8034e92bf6367f9093a 100644 (file)
--- a/README
+++ b/README
@@ -1,18 +1,20 @@
-Simplest form file uploader.
+Simplest HTTP form file uploader.
 
 It just saves uploaded file from HTML form to the new file on the disk.
 
 It just saves uploaded file from HTML form to the new file on the disk.
-Also it calculates BLAKE2b checksum, replying with it in the answer.
+Also it calculates BLAKE2b-512 checksum, replying with it in the answer.
 
 You can upload files with curl:
 
 
 You can upload files with curl:
 
-    curl -F fileupload=@somedata.tar.gpg http://localhost:8086/upload/
+    curl -F file=@somedata.tar.gpg \
+        [ -F comment="optional comment" ] \
+        http://localhost:8086/upload/
 
 
-    curl -F fileupload=@somedata.tar.gpg -F comment="optional comment" http://localhost:8086/upload/
-
-You can verify integrity locally:
+and verify integrity locally:
 
     b2sum -a blake2b somedata.tar.gpg
 
 You can enable mail notification with -notify-to and -notify-from options.
 
     b2sum -a blake2b somedata.tar.gpg
 
 You can enable mail notification with -notify-to and -notify-from options.
+It is advisable to run it under daemontools-like supervisor
+(http://cr.yp.to/daemontools.html). Example service/uploader provided.
 
 uploader is free software: see the file COPYING for copying conditions.
 
 uploader is free software: see the file COPYING for copying conditions.