[modify the path of exec file]
This commit is contained in:
parent
1caaf88c7e
commit
551b590b5f
|
@ -22,7 +22,7 @@ PATH="/bin:/usr/bin:/sbin:/usr/sbin"
|
||||||
NAME="TDEngine"
|
NAME="TDEngine"
|
||||||
USER="root"
|
USER="root"
|
||||||
GROUP="root"
|
GROUP="root"
|
||||||
DAEMON="/usr/local/bin/taos/taosd"
|
DAEMON="/usr/local/taos/bin/taosd"
|
||||||
DAEMON_OPTS=""
|
DAEMON_OPTS=""
|
||||||
PID_FILE="/var/run/$NAME.pid"
|
PID_FILE="/var/run/$NAME.pid"
|
||||||
APPARGS=""
|
APPARGS=""
|
||||||
|
@ -81,7 +81,6 @@ case "$1" in
|
||||||
status_of_proc -p "$PID_FILE" "$DAEMON" "$NAME"
|
status_of_proc -p "$PID_FILE" "$DAEMON" "$NAME"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# echo "Usage: /etc/init.d/opentsdb {start|stop|restart|status}"
|
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue