Building out man page.
This commit is contained in:
Родитель
cc52050b6f
Коммит
ef1bc07f2e
|
@ -26,7 +26,7 @@ case "$1" in
|
|||
fi
|
||||
# Create service user for gitea
|
||||
addgroup --system --quiet gitea
|
||||
adduser --system --quiet --ingroup gitea --no-create-home gitea
|
||||
adduser --system --quiet --ingroup gitea --no-create-home --home /var/lib/gitea gitea
|
||||
[ -d '/var/lib/gitea' ] && chown -R gitea:gitea /var/lib/gitea
|
||||
;;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
[Unit]
|
||||
Description=Gitea (Git with a cup of tea)
|
||||
After=syslog.target
|
||||
Documentation=man:gitea(1)
|
||||
# syslog is "socket activated"
|
||||
#After=syslog.target
|
||||
After=network.target
|
||||
#After=mysqld.service
|
||||
#After=postgresql.service
|
||||
|
@ -17,6 +19,7 @@ After=network.target
|
|||
Type=simple
|
||||
User=gitea
|
||||
Group=gitea
|
||||
Documentation=man:gitea(1)
|
||||
WorkingDirectory=/var/lib/gitea
|
||||
ExecStart=/usr/bin/gitea web
|
||||
Restart=always
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
|
||||
.TH GITEA "1" "April 2017" "Gitea version 1.1.0 built with: bindata, sqlite" "User Commands"
|
||||
.SH NAME
|
||||
Gitea \- manual page for Gitea version 1.1.0 built with: bindata, sqlite
|
||||
.SH DESCRIPTION
|
||||
.SS "NAME:"
|
||||
.IP
|
||||
Gitea \- A painless self\-hosted Git service
|
||||
.SH DESCRIPTION
|
||||
.SS "USAGE:"
|
||||
.IP
|
||||
gitea\-1.1.0\-linux\-amd64 [global options] command [command options] [arguments...]
|
||||
|
@ -41,15 +37,17 @@ show help
|
|||
.TP
|
||||
\fB\-\-version\fR, \fB\-v\fR
|
||||
print the version
|
||||
.SH "SEE ALSO"
|
||||
The full documentation for
|
||||
.B Gitea
|
||||
is maintained as a Texinfo manual. If the
|
||||
.B info
|
||||
and
|
||||
.B Gitea
|
||||
programs are properly installed at your site, the command
|
||||
.IP
|
||||
.B info Gitea
|
||||
.SS "FILES:"
|
||||
.TP
|
||||
/var/run/gitea.pid
|
||||
Contains the process ID
|
||||
.TP
|
||||
/etc/gitea/app.ini
|
||||
Contains configuration settings for gitea.
|
||||
.TP
|
||||
/var/log/gitea/*.log
|
||||
Holds gitea log files.
|
||||
.SS "SEE ALSO:"
|
||||
Documentation at https://docs.gitea.io/
|
||||
.PP
|
||||
should give you access to the complete manual.
|
||||
Configuration options at https://docs.gitea.io/en-us/config-cheat-sheet/
|
||||
|
|
Загрузка…
Ссылка в новой задаче