mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
use standard useradd options only, so the command works on bsds too, and no need for users to add an explicit -config flag anymore
This commit is contained in:
parent
8affa12c39
commit
a480bcd583
1 changed files with 3 additions and 3 deletions
|
@ -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
|
should understand the consequences of the DNS records above before
|
||||||
continuing!
|
continuing!
|
||||||
|
|
||||||
You can now start mox with "mox -config config/mox.conf serve", but see below
|
You can now start mox with "mox serve", but see below for recommended ownership
|
||||||
for recommended ownership and permissions.
|
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
|
user name "mox", and the admin user is the current user, the following command
|
||||||
sets the correct permissions:
|
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 %s:mox . mox
|
||||||
sudo chown -R mox:%s config data
|
sudo chown -R mox:%s config data
|
||||||
sudo chmod 751 .
|
sudo chmod 751 .
|
||||||
|
|
Loading…
Reference in a new issue