diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-10-16 18:14:09 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-10-16 18:14:09 +0200 |
commit | c76040f619fe4378830020b43225ec68b0309d59 (patch) | |
tree | 92d6b425af6664e81645a65b2c48855de11f65fe /etc | |
parent | ba12f6166f3c0b4f76cc0b114d0edd9b22b13977 (diff) |
put: more fallbacks
Diffstat (limited to 'etc')
-rw-r--r-- | etc/functions/put | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/etc/functions/put b/etc/functions/put index 40c9761..300be7b 100644 --- a/etc/functions/put +++ b/etc/functions/put @@ -26,7 +26,23 @@ function put_strata { max_size=0 } -hosts=(strata steel) +function put_epicentre { + hostname='epicentre.derf0.net' + ssh_name='epicentre' + target_dir='web/default/out/tmp' + server_prefix='https://epicentre.derf0.net/tmp/' + max_size=0 +} + +function put_chaosdorf { + hostname='extern.chaosdorf.de' + ssh_name='extern.chaosdorf.de' + target_dir='public_html/tmp' + server_prefix='https://chaosdorf.de/~derf/tmp/' + max_size=0 +} + +hosts=(strata epicentre chaosdorf) while [[ ${1} == -* ]] { case ${1} in |