start new:
tmux
start new with session name:
tmux new -s myname
#!/usr/bin/env bash | |
set -e | |
function usage() { | |
set -e | |
cat <<EOM | |
##### ecs-run ##### | |
Simple script for running tasks on Amazon Elastic Container Service | |
One of the following is required: | |
Required arguments: |
#!/bin/sh -exu | |
dev=$1 | |
cd $(mktemp -d) | |
function umountboot { | |
umount boot || true | |
umount root || true | |
} | |
# RPi1/Zero (armv6h): |
# import config | |
configfile=config.env | |
ifdef cnf | |
configfile=$(cnf) | |
endif | |
include $(configfile) | |
export $(shell sed 's/=.*//' $(configfile)) | |
# import deploy config | |
deployfile=deploy.env |