4293: Node Manager shuts down nodes that fail to boot.
[arvados.git] / docker / compute / ssh.sh
1 #!/bin/bash
2
3 echo $ENABLE_SSH
4
5 # Start ssh daemon if requested via the ENABLE_SSH env variable
6 if [[ ! "$ENABLE_SSH" =~ (0|false|no|f|^$) ]]; then
7 echo "STARTING"
8   /etc/init.d/ssh start
9 fi
10