]> Sergey Matveev's repositories - paster.git/blobdiff - INSTALL
timeout utility replaces -max-secs
[paster.git] / INSTALL
diff --git a/INSTALL b/INSTALL
index 53172209417ae4a5629a4eaadfcff492083ac367..28a9b0b0688036154d7e82836091032573c790bb 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -19,7 +19,7 @@ Create daemontools+ucspi-tcp service:
     cd /path/to/pastes
     umask 027
     exec setuidgid paster tcpserver -DHR -l 0 ::0 2020 \
-        $GOPATH/bin/paster http://paster.example.com/ 2>&1
+        timeout 1m $GOPATH/bin/paster http://paster.example.com/ 2>&1
     EOF
     # cat > /var/service/.paster/log/run <<EOF
     #!/bin/sh -e
@@ -54,4 +54,4 @@ or likely go.cypherpunks.ru/ucspi/cmd/tlss:
 
     exec setuidgid paster tcpserver -DHR -l 0 ::0 2021 tlss \
         -key paster.example.com.key.pem -cert paster.example.com.pem \
-        $GOPATH/bin/paster http://paster.example.com/ 2>&1
+        timeout 1m $GOPATH/bin/paster http://paster.example.com/ 2>&1