Skip to content

Instantly share code, notes, and snippets.

@choang
choang / tsd.sh
Created May 20, 2013 19:14
OpenTSDB init script
#!/bin/sh
. /etc/init.d/functions
PIDFILE=/var/run/tsd.pid
LOCKFILE=/var/lock/subsys/tsd
TSD_CONF=/usr/local/etc/tsd.conf
TSDB_BIN=/usr/local/bin/tsdb
TSD_LOGDIR=/var/tmp/tsd
export TSDB_HOME=/usr/local/share/opentsdb