summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/scylla-bin/files/scylla-server.initd')
-rw-r--r--dev-db/scylla-bin/files/scylla-server.initd2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-db/scylla-bin/files/scylla-server.initd b/dev-db/scylla-bin/files/scylla-server.initd
index 12aaf1b..1107e40 100644
--- a/dev-db/scylla-bin/files/scylla-server.initd
+++ b/dev-db/scylla-bin/files/scylla-server.initd
@@ -32,6 +32,8 @@ start_pre() {
}
stop_post() {
+ ebegin "Draining node"
+ $(which nodetool) drain
ebegin "Running scylla_stop"
/usr/lib/scylla/scylla_stop >/dev/null
}