Blame SOURCES/002-manpages.patch

d08e3e
diff --git a/docs/man/man1/grafana-cli.1 b/docs/man/man1/grafana-cli.1
d08e3e
new file mode 100644
68ed87
index 0000000000..7ac2af882c
d08e3e
--- /dev/null
d08e3e
+++ b/docs/man/man1/grafana-cli.1
68ed87
@@ -0,0 +1,60 @@
77b9e5
+.TH GRAFANA "1" "May 2021" "Grafana cli version 7.5.7" "User Commands"
d08e3e
+.SH NAME
d08e3e
+grafana-cli \- command line administration for the Grafana metrics dashboard and graph editor
d08e3e
+.SH DESCRIPTION
d08e3e
+.SS "NAME:"
d08e3e
+.IP
d08e3e
+grafana-cli
d08e3e
+.SS "USAGE:"
d08e3e
+.IP
d08e3e
+\fBgrafana\-cli\fP [\fIglobal options\fP] \fIcommand\fP [\fIcommand options\fP] [\fIarguments\fP...]
d08e3e
+.SS "COMMANDS:"
d08e3e
+.TP
d08e3e
+plugins
d08e3e
+Manage plugins for grafana
d08e3e
+.TP
d08e3e
+admin
d08e3e
+Grafana admin commands
d08e3e
+.TP
d08e3e
+help, h
d08e3e
+Shows a list of commands or help for one command
d08e3e
+.SS "GLOBAL OPTIONS:"
d08e3e
+.TP
d08e3e
+\fB\-\-pluginsDir\fR value
d08e3e
+path to the grafana plugin directory (default: "/var/lib/grafana/plugins") [$GF_PLUGIN_DIR]
d08e3e
+.TP
d08e3e
+\fB\-\-repo\fR value
d08e3e
+url to the plugin repository (default: "https://grafana.com/api/plugins") [$GF_PLUGIN_REPO]
d08e3e
+.TP
d08e3e
+\fB\-\-pluginUrl\fR value
d08e3e
+Full url to the plugin zip file instead of downloading the plugin from grafana.com/api [$GF_PLUGIN_URL]
d08e3e
+.TP
d08e3e
+\fB\-\-insecure\fR
d08e3e
+Skip TLS verification (insecure)
d08e3e
+.TP
d08e3e
+\fB\-\-debug\fR, \fB\-d\fR
d08e3e
+enable debug logging
d08e3e
+.TP
68ed87
+\fB\-\-configOverrides\fR value
68ed87
+Configuration options to override defaults as a string. e.g. cfg:default.paths.log=/dev/null
68ed87
+.TP
68ed87
+\fB\-\-homepath\fR value
68ed87
+Path to Grafana install/home path, defaults to working directory
68ed87
+.TP
68ed87
+\fB\-\-config\fR value
68ed87
+Path to config file
68ed87
+.TP
d08e3e
+\fB\-\-help\fR, \fB\-h\fR
d08e3e
+show help
d08e3e
+.TP
d08e3e
+\fB\-\-version\fR, \fB\-v\fR
d08e3e
+print the version
d08e3e
+.SH "SEE ALSO"
d08e3e
+Additional documentation for
d08e3e
+.B grafana-cli
d08e3e
+is available on-line at
d08e3e
+.BR http://docs.grafana.org/administration/cli/ .
d08e3e
+The full documentation for
d08e3e
+.B Grafana
d08e3e
+is available on-line at
d08e3e
+.BR http://docs.grafana.org/ .
d08e3e
diff --git a/docs/man/man1/grafana-server.1 b/docs/man/man1/grafana-server.1
d08e3e
new file mode 100644
68ed87
index 0000000000..c616268b31
d08e3e
--- /dev/null
d08e3e
+++ b/docs/man/man1/grafana-server.1
77b9e5
@@ -0,0 +1,72 @@
77b9e5
+.TH VERSION "1" "May 2021" "Version 7.5.7" "User Commands"
d08e3e
+.SH NAME
d08e3e
+grafana-server \- back-end server for the Grafana metrics dashboard and graph editor
d08e3e
+.SH DESCRIPTION
d08e3e
+.B grafana-server
d08e3e
+is the back-end server for the Grafana metrics dashboard and graph editor.
d08e3e
+The
d08e3e
+.B grafana-server
d08e3e
+program should not normally be run from the command line,
d08e3e
+except when testing or for development purposes.
d08e3e
+Rather it should be managed by
d08e3e
+.BR systemd .
d08e3e
+After installing Grafana, the systemd service should be enabled and started as follows:
d08e3e
+.P
d08e3e
+.in 1i
d08e3e
+.B systemctl daemon-reload
d08e3e
+.br
d08e3e
+.B systemctl enable grafana-server.service
d08e3e
+.br
d08e3e
+.B systemctl start grafana-server.service
d08e3e
+.in
d08e3e
+.P
d08e3e
+.SH OPTIONS
d08e3e
+The
d08e3e
+.B gafana-server
d08e3e
+configuration is specified in
d08e3e
+.BR /etc/grafana/grafana.ini
d08e3e
+and is well documented with comments.
d08e3e
+The command-line options listed below override options of
68ed87
+the same (or similar) name in the configuration file.
d08e3e
+.P
d08e3e
+.HP
d08e3e
+\fB\-config\fR string
d08e3e
+.IP
d08e3e
+path to config file
d08e3e
+.HP
d08e3e
+\fB\-homepath\fR string
d08e3e
+.IP
d08e3e
+path to grafana install/home path, defaults to working directory
d08e3e
+.HP
d08e3e
+\fB\-packaging\fR string
d08e3e
+.IP
d08e3e
+describes the way Grafana was installed (default "unknown")
d08e3e
+.HP
d08e3e
+\fB\-pidfile\fR string
d08e3e
+.IP
d08e3e
+path to pid file
d08e3e
+.HP
d08e3e
+\fB\-profile\fR
d08e3e
+.IP
d08e3e
+Turn on pprof profiling
d08e3e
+.HP
68ed87
+\fB\-profile\-port\fR uint
d08e3e
+.IP
d08e3e
+Define custom port for profiling (default 6060)
d08e3e
+.HP
68ed87
+\fB\-tracing\fR
d08e3e
+.IP
68ed87
+Turn on tracing
d08e3e
+.HP
68ed87
+\fB\-tracing\-file\fR string
d08e3e
+.IP
68ed87
+Define tracing output file (default "trace.out")
d08e3e
+.TP
d08e3e
+\fB\-v\fR
68ed87
+.IP
d08e3e
+prints current version and exits
d08e3e
+.SH "SEE ALSO"
d08e3e
+The full documentation for
d08e3e
+.B Grafana
d08e3e
+is available on-line at
d08e3e
+.BR http://docs.grafana.org/ .