From 6b29123275ba5f62cfb41bb4b9591f54e78e36a3 Mon Sep 17 00:00:00 2001 From: vasyahacker Date: Thu, 18 May 2023 09:45:33 +0400 Subject: [PATCH] man and readme fixes --- README.md | 8 +++++++- man/idecctl.1 | 5 ++++- man/idecd.1 | 9 ++++++--- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e452934..42c4292 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ For example: ``` ./idecctl [-u pointfile] useradd ``` +**Attention**: by default, a new user is added blocked, **set 'locked/no' in points.txt to unlock** By default, pointfile is points.txt @@ -156,7 +157,10 @@ Where options are: list.txt by default. -host Host string for node. For ex. http://hugeping.tk. http://127.0.0.1:8080 by default +-noreg Disable new users registration +-style path Path to /style web-directory (css/images) (default "./style") -sys "name" Node name. "openidec" by default +-tpl path Path to html templates (default "./tpl") -u Points file. "points.txt" by default. -v Be verbose (for tracing) ``` @@ -165,10 +169,12 @@ Where options are: ``` ./idecctl fetch http://club.syscall.ru wget http://club.syscall.ru/list.txt # for echo descriptions -./idecd -sys "newnode" +./idecd -sys "newnode" -tpl www/tpl -style www/style ``` And open http://127.0.0.1:8080 in your browser. +**Attention**: by default, a new user is added blocked, **set 'locked/no' in points.txt to unlock** + ## Standarts supported - u/e diff --git a/man/idecctl.1 b/man/idecctl.1 index 002020b..6eb1d46 100644 --- a/man/idecctl.1 +++ b/man/idecctl.1 @@ -89,9 +89,12 @@ idecctl [-u pointfile] useradd By default, pointfile is points.txt .fi +.TP +.B ATTENTION! +by default, a new user is added blocked, set 'locked/no' in points.txt to unlock .TP .B BLACKLIST MSG -idecctl [-u pointfile] useradd +./ii-tool [-db db] blacklist .nf Blacklist is just new record with same id but spectial status. diff --git a/man/idecd.1 b/man/idecd.1 index 7bb59df..bf78573 100644 --- a/man/idecd.1 +++ b/man/idecd.1 @@ -77,10 +77,13 @@ http://127.0.0.1:8080/from/User/rss - From User .SH EXAMPLES Fetch db and start node: .nf -idecctl fetch http://hugeping.tk # get database from remote node -ftp http://hugeping.tk/list.txt # for echo descriptions -idecd -sys "newnode" # run node with name "newnode" +idecctl fetch http://hugeping.tk # get database from remote node +ftp http://hugeping.tk/list.text # for echo descriptions +idecd -sys "newnode" -tpl www/tpl -style www/style # run node with name "newnode" .fi +.SH +ATTENTION! +by default, a new user is added blocked, set 'locked/no' in points.txt to unlock .SH SEE ALSO idecctl(1), openidec(1), idecgmi(1) .SH AUTHOR