quickstart: write all output to a file "quickstart.log" for later reference

quite some output is printed. you could remember to tee it all to a file. but
that's probably often realized only after having run the quickstart. you can
also copy/paste it all from the terminal, but that's sometimes annoying to do.
writing to a file is more helpful to users.

this has been requested a few times in the past on irc/matrix (i forgot who).
This commit is contained in:
Mechiel Lukkien
2024-12-07 21:14:43 +01:00
parent 35af7e30a6
commit 2255ebcf11
2 changed files with 37 additions and 1 deletions

2
doc.go
View File

@ -146,6 +146,8 @@ Quickstart writes configuration files, prints initial admin and account
passwords, DNS records you should create. If you run it on Linux it writes a
systemd service file and prints commands to enable and start mox as service.
All output is written to quickstart.log for later reference.
The user or uid is optional, defaults to "mox", and is the user or uid/gid mox
will run as after initialization.