summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-10-16 18:14:09 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-10-16 18:14:09 +0200
commitc76040f619fe4378830020b43225ec68b0309d59 (patch)
tree92d6b425af6664e81645a65b2c48855de11f65fe
parentba12f6166f3c0b4f76cc0b114d0edd9b22b13977 (diff)
put: more fallbacks
-rw-r--r--etc/functions/put18
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