Commit Graph
8 Commits
Author SHA1 Message Date
Liam Crilly d481801907 Docker: show welcome page on port 80 when entrypoint.d is empty.
The entrypoint script now performs a default configuration when no useful
files are found in /docker-entrypoint.d/

The default configuration serves a welcome page in response to all
requests, using Markdown unless text/html is sent in the Accept header.

This provides a useful 'hello world' experience when running a Unit
container for the first time.
2023-05-09 22:53:18 +01:00
Liam Crilly 20a5fd44ac Docker: add support for JavaScript modules. 2023-05-09 19:19:36 +01:00
Liam Crilly c54331fa3d Tools: use control socket and log file from running instance.
If unitd was started with an explicit path then unitc will use that
binary instead of the default PATH to obtain the default control socket
and log file locations.
2023-04-04 11:29:53 +01:00
Liam Crilly bbeccabe0a Tools: improved detection of unitd control socket.
Now unitc obtains the path to the unitd binary from information
contained in the unitd: main process. If unitd was started with an
explicit path then that path will be used to obtain the default
control socket, instead of using the unitd binary in $PATH.
2023-02-27 14:25:58 +00:00
Liam Crilly a2b3992462 Tools: unitc avoid interactive rm(1) invocations. 2022-12-19 15:03:55 +00:00
Liam Crilly e2dd3610f3 Tools: fixed quoting for apostrophe in setup-unit. 2022-12-16 12:46:35 +00: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