mirror of
https://github.com/retailcrm/Fetch.git
synced 2025-02-06 10:39:21 +03:00
Added ResetMail.sh to Provision.sh script, cleaned formatting.
This commit is contained in:
parent
13514054d9
commit
5d30c7eaa1
@ -1,5 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo 'Provisioning Environment with Dovecot and Test Messages'
|
||||
|
||||
# Install and Configure Dovecot
|
||||
|
||||
@ -20,7 +21,15 @@ fi
|
||||
if getent passwd testuser > /dev/null; then
|
||||
echo 'testuser already exists'
|
||||
else
|
||||
echo 'Creating testuser'
|
||||
echo 'Creating User "testuser"'
|
||||
sudo useradd testuser -m -s /bin/bash
|
||||
echo "testuser:applesauce"|sudo chpasswd
|
||||
fi
|
||||
|
||||
|
||||
# Setup Email
|
||||
|
||||
/bin/bash /vagrant/ResetMail.sh
|
||||
|
||||
|
||||
echo 'Environment has been provisioned'
|
Loading…
x
Reference in New Issue
Block a user