summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2010-12-16 08:42:44 +1100
committerMartin Schwenke <martin@meltin.net>2011-08-09 17:35:37 +1000
commit061b7adad6a871de3a9380a4c308e733f57af90c (patch)
treef5325b5a078bdc42686b7157cdc88c9d274944f0
parent71e9016ec2c14d7c57a23d3fda457c8540beb2ee (diff)
downloadsamba-061b7adad6a871de3a9380a4c308e733f57af90c.tar.gz
samba-061b7adad6a871de3a9380a4c308e733f57af90c.tar.xz
samba-061b7adad6a871de3a9380a4c308e733f57af90c.zip
Evenscripts: update 13.per_ip_routing to use ctdb_setup_service_state_dir.
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 18e0236754507a9475653f04bb239c5d46ba51de)
-rwxr-xr-xctdb/config/events.d/13.per_ip_routing4
1 files changed, 3 insertions, 1 deletions
diff --git a/ctdb/config/events.d/13.per_ip_routing b/ctdb/config/events.d/13.per_ip_routing
index a0df119895..ff4dbdb8c3 100755
--- a/ctdb/config/events.d/13.per_ip_routing
+++ b/ctdb/config/events.d/13.per_ip_routing
@@ -3,8 +3,10 @@
. $CTDB_BASE/functions
loadconfig
+ctdb_setup_service_state_dir "per_ip_routing"
+
[ -z "$CTDB_PER_IP_ROUTING_STATE" ] && {
- CTDB_PER_IP_ROUTING_STATE="$CTDB_VARDIR/state/per_ip_routing"
+ CTDB_PER_IP_ROUTING_STATE="$service_state_dir"
}
AUTO_LINK_LOCAL="no"