]> Sergey Matveev's repositories - paster.git/commitdiff
pastes/index.html
authorSergey Matveev <stargrave@stargrave.org>
Tue, 20 Jul 2021 13:40:37 +0000 (16:40 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 20 Jul 2021 13:40:37 +0000 (16:40 +0300)
INSTALL

diff --git a/INSTALL b/INSTALL
index b631d62e4795980fa8166ae24086f6c8edc096c7..7ca6e7f5d971abaa93cbc09f6b0ca2828381efd9 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -6,8 +6,10 @@ Add "paster" user and "pastes" directory, also accessible by HTTP service:
 
     # pw useradd paster -s /usr/sbin/nologin -w no -d /path/to/pastes
     # mkdir /path/to/pastes
-    # chown paster:lighttpd pastes
+    # echo "<html><body>Paste service</body></html>" > /path/to/pastes/index.html
+    # chown -R paster:lighttpd pastes
     # chmod 2750 pastes
+    # chmod 640 /path/to/pastes/index.html
 
 Create daemontools+ucspi-tcp service: