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
This commit is contained in:
parent
129342b42c
commit
49b4d4ebdb
2 changed files with 2 additions and 2 deletions
|
@ -6,4 +6,4 @@
|
||||||
# http://dist.corp.yahoo.com/by-package/daemontools_y/
|
# http://dist.corp.yahoo.com/by-package/daemontools_y/
|
||||||
#
|
#
|
||||||
cd /home/y/var/dht_lsm_server/data
|
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
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#include "../datatuple.h"
|
#include "../datatuple.h"
|
||||||
|
|
||||||
void usage(char * argv[]) {
|
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"
|
#include "util_main.h"
|
||||||
int main(int argc, char * argv[]) {
|
int main(int argc, char * argv[]) {
|
||||||
|
|
Loading…
Reference in a new issue