From 49b4d4ebdba2b659789aa59d73af21ce64f8e4c5 Mon Sep 17 00:00:00 2001 From: michim Date: Thu, 12 May 2011 21:03:09 +0000 Subject: [PATCH] added some option to daemontools run script. git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@2548 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe --- packages/dht_lsm_server.run | 2 +- util/change_log_mode.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dht_lsm_server.run b/packages/dht_lsm_server.run index fe1239f..c83754a 100755 --- a/packages/dht_lsm_server.run +++ b/packages/dht_lsm_server.run @@ -6,4 +6,4 @@ # http://dist.corp.yahoo.com/by-package/daemontools_y/ # cd /home/y/var/dht_lsm_server/data -exec /home/y/bin/setuidgid nobody /home/y/bin64/lsm_server 2>&1 +exec /home/y/bin/setuidgid nobody /home/y/bin64/lsm_server --benchmark --log-mode 2>&1 diff --git a/util/change_log_mode.cpp b/util/change_log_mode.cpp index 82567dd..ca8cf22 100644 --- a/util/change_log_mode.cpp +++ b/util/change_log_mode.cpp @@ -11,7 +11,7 @@ #include "../datatuple.h" void usage(char * argv[]) { - fprintf(stderr, "usage %s [host [port]]\n", argv[0]); + fprintf(stderr, "usage %s mode [host [port]]\n", argv[0]); } #include "util_main.h" int main(int argc, char * argv[]) {