Procházet zdrojové kódy

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

tags/v0.11.2
Jonathan Cobb před 4 roky
rodič
revize
3748717242
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 Zobrazit soubor

@@ -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}


Načítá se…
Zrušit
Uložit