Commit Graph

9 Commits

Author SHA1 Message Date
Liam Crilly
a2b3992462 Tools: unitc avoid interactive rm(1) invocations. 2022-12-19 15:03:55 +00:00
Alejandro Colomar
9c94cfccd5 Tools: Fixed bug in help message.
'sudo' was misplaced.

Signed-off-by: Alejandro Colomar <alx@nginx.com>
2022-12-16 20:42:39 +01:00
Alejandro Colomar
99a7fa7839 Tools: Using HereDoc instead of echo(1).
This prevents accidents, which are likely to happen especially with quotes.

Signed-off-by: Alejandro Colomar <alx@nginx.com>
2022-12-16 20:42:39 +01:00
Liam Crilly
e2dd3610f3 Tools: fixed quoting for apostrophe in setup-unit. 2022-12-16 12:46:35 +00:00
Artem Konev
789095b8a0 Tools: Updated built-in 'setup-unit' help, README.md command lines. 2022-12-14 21:17:01 +00:00
Alejandro Colomar
3778877eb3 Tools: Added subcommands to setup-unit.
This script combines the old setup-unit (as the repo-config command),
with new functionality, to provide an easy welcome website for
first-time users, and also some more commands that are useful for
administrating a running unitd(8) instance.

Suggested-by: Liam Crilly <liam@nginx.com>
Cc: Konstantin Pavlov <thresh@nginx.com>
Cc: Artem Konev <a.konev@f5.com>
Cc: Timo Start <t.stark@nginx.com>
Cc: Andrew Clayton <a.clayton@nginx.com>
Signed-off-by: Alejandro Colomar <alx@nginx.com>
2022-12-14 18:26:25 +01:00
Liam Crilly
101b262f1f Tools: Added unitc. 2022-12-14 16:20:08 +00:00
Liam Crilly
dfededabdc Added tools/README.md. 2022-12-03 18:11:14 +00:00
Konstantin Pavlov
e9c1954dc2 Tools: Added setup-unit.
Downloaded from <https://unit.nginx.org/_downloads/setup-unit.sh>.

Acked-by: Artem Konev <a.konev@f5.com>
Acked-by: Konstantin Pavlov <thresh@nginx.com>
Signed-off-by: Alejandro Colomar <alx@nginx.com>
2022-11-22 13:55:06 +01:00