Bläddra i källkod

sleep 2s upon startup to avoid both marker files getting the same timestamp

tags/v0.11.2
Jonathan Cobb 4 år sedan
förälder
incheckning
3748717242
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      bubble-server/src/main/resources/packer/roles/bubble/files/refresh_bubble_ssh_keys_monitor.sh

+ 1
- 1
bubble-server/src/main/resources/packer/roles/bubble/files/refresh_bubble_ssh_keys_monitor.sh Visa fil

@@ -23,7 +23,7 @@ BUBBLE_KEY_MARKER=/home/bubble/.refresh_ssh_keys
ROOT_KEY_MARKER=${SSH_KEY_BASE}/.refresh_ssh_keys

if [[ ! -f ${BUBBLE_KEY_MARKER} ]] ; then
touch ${BUBBLE_KEY_MARKER} && chown bubble ${BUBBLE_KEY_MARKER}
touch ${BUBBLE_KEY_MARKER} && chown bubble ${BUBBLE_KEY_MARKER} && sleep 2s
fi
if [[ ! -f ${ROOT_KEY_MARKER} ]] ; then
touch ${ROOT_KEY_MARKER}


Laddar…
Avbryt
Spara