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
|
||||
- [#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.
|
||||
- [#2064](https://github.com/influxdb/influxdb/pull/2064): Allow init.d script to return influxd version.
|
||||
|
||||
### Bugfixes
|
||||
- [#2037](https://github.com/influxdb/influxdb/pull/2037): Don't check 'configExists' at Run() level
|
||||
|
|
|
@ -150,9 +150,13 @@ case $1 in
|
|||
fi
|
||||
;;
|
||||
|
||||
version)
|
||||
$daemon version
|
||||
;;
|
||||
|
||||
*)
|
||||
# For invalid arguments, print the usage message.
|
||||
echo "Usage: $0 {start|stop|restart|status}"
|
||||
echo "Usage: $0 {start|stop|restart|status|version}"
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue