Blame SOURCES/002-manpages.patch

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