Merge pull request #2064 from influxdb/service_script_master
Allow init.d script to get influxd versionpull/2061/head
commit
f554a1a9ee
|
@ -3,6 +3,7 @@
|
||||||
### Features
|
### Features
|
||||||
- [#2058](https://github.com/influxdb/influxdb/pull/2058): Track number of queries executed in stats.
|
- [#2058](https://github.com/influxdb/influxdb/pull/2058): Track number of queries executed in stats.
|
||||||
- [#2059](https://github.com/influxdb/influxdb/pull/2059): Retention policies sorted by name on return to client.
|
- [#2059](https://github.com/influxdb/influxdb/pull/2059): Retention policies sorted by name on return to client.
|
||||||
|
- [#2064](https://github.com/influxdb/influxdb/pull/2064): Allow init.d script to return influxd version.
|
||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
- [#2037](https://github.com/influxdb/influxdb/pull/2037): Don't check 'configExists' at Run() level
|
- [#2037](https://github.com/influxdb/influxdb/pull/2037): Don't check 'configExists' at Run() level
|
||||||
|
|
|
@ -150,9 +150,13 @@ case $1 in
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
version)
|
||||||
|
$daemon version
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
# For invalid arguments, print the usage message.
|
# For invalid arguments, print the usage message.
|
||||||
echo "Usage: $0 {start|stop|restart|status}"
|
echo "Usage: $0 {start|stop|restart|status|version}"
|
||||||
exit 2
|
exit 2
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue