Blame SOURCES/003-manpages.patch

6b5415
diff --git a/docs/man/man1/grafana-cli.1 b/docs/man/man1/grafana-cli.1
6b5415
new file mode 100644
6b5415
index 0000000000..171748fcda
6b5415
--- /dev/null
6b5415
+++ b/docs/man/man1/grafana-cli.1
6b5415
@@ -0,0 +1,51 @@
6b5415
+.TH GRAFANA "1" "February 2019" "Grafana cli version 5.4.3" "User Commands"
6b5415
+.SH NAME
6b5415
+grafana-cli \- command line administration for the Grafana metrics dashboard and graph editor
6b5415
+.SH DESCRIPTION
6b5415
+.SS "NAME:"
6b5415
+.IP
6b5415
+grafana-cli
6b5415
+.SS "USAGE:"
6b5415
+.IP
6b5415
+\fBgrafana\-cli\fP [\fIglobal options\fP] \fIcommand\fP [\fIcommand options\fP] [\fIarguments\fP...]
6b5415
+.SS "COMMANDS:"
6b5415
+.TP
6b5415
+plugins
6b5415
+Manage plugins for grafana
6b5415
+.TP
6b5415
+admin
6b5415
+Grafana admin commands
6b5415
+.TP
6b5415
+help, h
6b5415
+Shows a list of commands or help for one command
6b5415
+.SS "GLOBAL OPTIONS:"
6b5415
+.TP
6b5415
+\fB\-\-pluginsDir\fR value
6b5415
+path to the grafana plugin directory (default: "/var/lib/grafana/plugins") [$GF_PLUGIN_DIR]
6b5415
+.TP
6b5415
+\fB\-\-repo\fR value
6b5415
+url to the plugin repository (default: "https://grafana.com/api/plugins") [$GF_PLUGIN_REPO]
6b5415
+.TP
6b5415
+\fB\-\-pluginUrl\fR value
6b5415
+Full url to the plugin zip file instead of downloading the plugin from grafana.com/api [$GF_PLUGIN_URL]
6b5415
+.TP
6b5415
+\fB\-\-insecure\fR
6b5415
+Skip TLS verification (insecure)
6b5415
+.TP
6b5415
+\fB\-\-debug\fR, \fB\-d\fR
6b5415
+enable debug logging
6b5415
+.TP
6b5415
+\fB\-\-help\fR, \fB\-h\fR
6b5415
+show help
6b5415
+.TP
6b5415
+\fB\-\-version\fR, \fB\-v\fR
6b5415
+print the version
6b5415
+.SH "SEE ALSO"
6b5415
+Additional documentation for
6b5415
+.B grafana-cli
6b5415
+is available on-line at
6b5415
+.BR http://docs.grafana.org/administration/cli/ .
6b5415
+The full documentation for
6b5415
+.B Grafana
6b5415
+is available on-line at
6b5415
+.BR http://docs.grafana.org/ .
6b5415
diff --git a/docs/man/man1/grafana-server.1 b/docs/man/man1/grafana-server.1
6b5415
new file mode 100644
6b5415
index 0000000000..30b7c1306f
6b5415
--- /dev/null
6b5415
+++ b/docs/man/man1/grafana-server.1
6b5415
@@ -0,0 +1,156 @@
6b5415
+.TH VERSION "1" "February 2019" "Version 5.4.3" "User Commands"
6b5415
+.SH NAME
6b5415
+grafana-server \- back-end server for the Grafana metrics dashboard and graph editor
6b5415
+.SH DESCRIPTION
6b5415
+.B grafana-server
6b5415
+is the back-end server for the Grafana metrics dashboard and graph editor.
6b5415
+The
6b5415
+.B grafana-server
6b5415
+program should not normally be run from the command line,
6b5415
+except when testing or for development purposes.
6b5415
+Rather it should be managed by
6b5415
+.BR systemd .
6b5415
+After installing Grafana, the systemd service should be enabled and started as follows:
6b5415
+.P
6b5415
+.in 1i
6b5415
+.B systemctl daemon-reload
6b5415
+.br
6b5415
+.B systemctl enable grafana-server.service
6b5415
+.br
6b5415
+.B systemctl start grafana-server.service
6b5415
+.in
6b5415
+.P
6b5415
+.SH OPTIONS
6b5415
+The
6b5415
+.B gafana-server
6b5415
+configuration is specified in
6b5415
+.BR /etc/grafana/grafana.ini
6b5415
+and is well documented with comments.
6b5415
+The command-line options listed below override options of
6b5415
+the same (or similar) name in the configuration file and also provide
6b5415
+additional options for testing Grafana.
6b5415
+.P
6b5415
+.HP
6b5415
+\fB\-config\fR string
6b5415
+.IP
6b5415
+path to config file
6b5415
+.HP
6b5415
+\fB\-homepath\fR string
6b5415
+.IP
6b5415
+path to grafana install/home path, defaults to working directory
6b5415
+.HP
6b5415
+\fB\-packaging\fR string
6b5415
+.IP
6b5415
+describes the way Grafana was installed (default "unknown")
6b5415
+.HP
6b5415
+\fB\-pidfile\fR string
6b5415
+.IP
6b5415
+path to pid file
6b5415
+.HP
6b5415
+\fB\-profile\fR
6b5415
+.IP
6b5415
+Turn on pprof profiling
6b5415
+.HP
6b5415
+\fB\-profile\-port\fR int
6b5415
+.IP
6b5415
+Define custom port for profiling (default 6060)
6b5415
+.HP
6b5415
+\fB\-test\fR.bench regexp
6b5415
+.IP
6b5415
+run only benchmarks matching regexp
6b5415
+.HP
6b5415
+\fB\-test\fR.benchmem
6b5415
+.IP
6b5415
+print memory allocations for benchmarks
6b5415
+.HP
6b5415
+\fB\-test\fR.benchtime d
6b5415
+.IP
6b5415
+run each benchmark for duration d (default 1s)
6b5415
+.HP
6b5415
+\fB\-test\fR.blockprofile file
6b5415
+.IP
6b5415
+write a goroutine blocking profile to file
6b5415
+.HP
6b5415
+\fB\-test\fR.blockprofilerate rate
6b5415
+.IP
6b5415
+set blocking profile rate (see runtime.SetBlockProfileRate) (default 1)
6b5415
+.HP
6b5415
+\fB\-test\fR.count n
6b5415
+.IP
6b5415
+run tests and benchmarks n times (default 1)
6b5415
+.HP
6b5415
+\fB\-test\fR.coverprofile file
6b5415
+.IP
6b5415
+write a coverage profile to file
6b5415
+.HP
6b5415
+\fB\-test\fR.cpu list
6b5415
+.IP
6b5415
+comma\-separated list of cpu counts to run each test with
6b5415
+.HP
6b5415
+\fB\-test\fR.cpuprofile file
6b5415
+.IP
6b5415
+write a cpu profile to file
6b5415
+.HP
6b5415
+\fB\-test\fR.failfast
6b5415
+.IP
6b5415
+do not start new tests after the first test failure
6b5415
+.HP
6b5415
+\fB\-test\fR.list regexp
6b5415
+.IP
6b5415
+list tests, examples, and benchmarks matching regexp then exit
6b5415
+.HP
6b5415
+\fB\-test\fR.memprofile file
6b5415
+.IP
6b5415
+write a memory profile to file
6b5415
+.HP
6b5415
+\fB\-test\fR.memprofilerate rate
6b5415
+.IP
6b5415
+set memory profiling rate (see runtime.MemProfileRate)
6b5415
+.HP
6b5415
+\fB\-test\fR.mutexprofile string
6b5415
+.IP
6b5415
+write a mutex contention profile to the named file after execution
6b5415
+.HP
6b5415
+\fB\-test\fR.mutexprofilefraction int
6b5415
+.IP
6b5415
+if >= 0, calls runtime.SetMutexProfileFraction() (default 1)
6b5415
+.HP
6b5415
+\fB\-test\fR.outputdir dir
6b5415
+.IP
6b5415
+write profiles to dir
6b5415
+.HP
6b5415
+\fB\-test\fR.parallel n
6b5415
+.IP
6b5415
+run at most n tests in parallel (default 8)
6b5415
+.HP
6b5415
+\fB\-test\fR.run regexp
6b5415
+.IP
6b5415
+run only tests and examples matching regexp
6b5415
+.HP
6b5415
+\fB\-test\fR.short
6b5415
+.IP
6b5415
+run smaller test suite to save time
6b5415
+.HP
6b5415
+\fB\-test\fR.testlogfile file
6b5415
+.IP
6b5415
+write test action log to file (for use only by cmd/go)
6b5415
+.HP
6b5415
+\fB\-test\fR.timeout d
6b5415
+.IP
6b5415
+panic test binary after duration d (default 0, timeout disabled)
6b5415
+.HP
6b5415
+\fB\-test\fR.trace file
6b5415
+.IP
6b5415
+write an execution trace to file
6b5415
+.HP
6b5415
+\fB\-test\fR.v
6b5415
+.IP
6b5415
+verbose: print additional output
6b5415
+.TP
6b5415
+\fB\-v\fR
6b5415
+prints current version and exits
6b5415
+.SH "SEE ALSO"
6b5415
+The full documentation for
6b5415
+.B Grafana
6b5415
+is available on-line at
6b5415
+.BR http://docs.grafana.org/ .