From a480bcd58340183e6b78d2c0342dc218b8136662 Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Wed, 22 Feb 2023 10:42:20 +0100 Subject: [PATCH] use standard useradd options only, so the command works on bsds too, and no need for users to add an explicit -config flag anymore --- quickstart.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quickstart.go b/quickstart.go index 6af2fb6..3c69d16 100644 --- a/quickstart.go +++ b/quickstart.go @@ -529,8 +529,8 @@ or if you are sending email for your domain from other machines/services, you should understand the consequences of the DNS records above before continuing! -You can now start mox with "mox -config config/mox.conf serve", but see below -for recommended ownership and permissions. +You can now start mox with "mox serve", but see below for recommended ownership +and permissions. `) @@ -550,7 +550,7 @@ for recommended ownership and permissions. user name "mox", and the admin user is the current user, the following command sets the correct permissions: - sudo useradd --no-create-home --home-dir $PWD mox + sudo useradd -d $PWD mox sudo chown %s:mox . mox sudo chown -R mox:%s config data sudo chmod 751 .