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:
commit
5bb958703b
@ -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.
|
||||||
|
|
||||||
|
# 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
|
||||||
echo 'Launching SSH public key creation...'
|
echo 'Launching SSH public key creation...'
|
||||||
|
ssh-keygen -t rsa -b 2048 -a 100 -f /root/.ssh/id_rsa_miab -N '' -q
|
||||||
nohup ssh-keygen -t rsa -b 2048 -a 100 -f /root/.ssh/id_rsa_miab -N '' -q 2>&1 >/dev/null
|
fi
|
||||||
|
|
||||||
# ### Package maintenance
|
# ### Package maintenance
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user