aboutsummaryrefslogtreecommitdiff
path: root/share/hydra
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-07-03 10:16:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-07-03 10:16:31 -0300
commitb7311dc95f4fb020580be7be7d5c0e8a278e326b (patch)
treea7e6348340502f2505e4e32ba58e85c1af55ae93 /share/hydra
parentdf332569de1162bd9a4deeb4c2c5271cbfdee6ad (diff)
downloadhydra-b7311dc95f4fb020580be7be7d5c0e8a278e326b.tar.gz
hydra-b7311dc95f4fb020580be7be7d5c0e8a278e326b.tar.bz2
Provision improvements and fixes
Diffstat (limited to 'share/hydra')
-rwxr-xr-xshare/hydra/provision6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/hydra/provision b/share/hydra/provision
index 4c59b3d..a025a8e 100755
--- a/share/hydra/provision
+++ b/share/hydra/provision
@@ -34,5 +34,9 @@ if [ -z "$NODE" ]; then
( cd $CONFIG && tree )
exit 1
else
- hydractl $BASENAME $NODE
+ if [ -e "$CONFIG/$NODE.conf" ]; then
+ hydractl $BASENAME $CONFIG/$NODE.conf
+ elif [ -e "$APP_BASE/share/config/provision/$NODE.conf" ]; then
+ hydractl $BASENAME $APP_BASE/share/config/provision/$NODE.conf
+ fi
fi