# ssh keys echo "adding authorized keys for {{serviceName}}..." echo "{{authorizedKeys}}" > /home/{{serviceName}}/.ssh/authorized_keys # create a local config on remote echo "Creating config.local.json config file..." cat <<'EOF' > /home/{{serviceName}}/live/config.local.json {{ nimbusJSON }} EOF # restar the node service echo "restarting node service..." stop {{serviceName}} start {{serviceName}}