Merge pull request #2064 from influxdb/service_script_master

Allow init.d script to get influxd version
pull/2061/head
Philip O'Toole 2015-03-23 23:45:07 -07:00
commit f554a1a9ee
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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