1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-21 03:02:09 +00:00

Merge pull request #1 from yodax/nohup

Remove nohup from ssh-keygen so errors aren't hidden.
This commit is contained in:
guyzmo 2016-07-30 15:23:07 +02:00 committed by GitHub
commit 5bb958703b

View File

@ -144,9 +144,11 @@ pollinate -q -r
# Between these two, we really ought to be all set. # Between these two, we really ought to be all set.
echo 'Launching SSH public key creation...' # We need an ssh key to store backups via rsync, if it doesn't exist create one
if [ ! -f /root/.ssh/id_rsa_miab ]; then
nohup ssh-keygen -t rsa -b 2048 -a 100 -f /root/.ssh/id_rsa_miab -N '' -q 2>&1 >/dev/null echo 'Launching SSH public key creation...'
ssh-keygen -t rsa -b 2048 -a 100 -f /root/.ssh/id_rsa_miab -N '' -q
fi
# ### Package maintenance # ### Package maintenance
# #