mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
Remove commented out code; add configuration instructions
This commit is contained in:
parent
9b8af6b494
commit
110688f772
2 changed files with 14 additions and 3 deletions
|
@ -8,3 +8,17 @@ Using It
|
||||||
--------
|
--------
|
||||||
|
|
||||||
Gitea should be accessible at http://box/gitea/.
|
Gitea should be accessible at http://box/gitea/.
|
||||||
|
|
||||||
|
Configuration
|
||||||
|
-------------
|
||||||
|
|
||||||
|
Gitea has been configured to work with MySQL; it can also be used with SQLite or
|
||||||
|
Postgres. If you want to use it with a different database, change the
|
||||||
|
``DB_TYPE`` property in ``app.ini`` and change the line ``After=mysqld.service``
|
||||||
|
in ``gitea.service`` to one of the following:
|
||||||
|
|
||||||
|
* SQLite: comment it out.
|
||||||
|
* Postgres: ``After=postgresql.service``
|
||||||
|
|
||||||
|
Further information about configuring Gitea can be found at the
|
||||||
|
`documentation <https://docs.gitea.io/en-us/>`.
|
||||||
|
|
|
@ -3,9 +3,6 @@ Description=Gitea (Git with a cup of tea)
|
||||||
After=syslog.target
|
After=syslog.target
|
||||||
After=network.target
|
After=network.target
|
||||||
After=mysqld.service
|
After=mysqld.service
|
||||||
#After=postgresql.service
|
|
||||||
#After=memcached.service
|
|
||||||
#After=redis.service
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# Modify these two values and uncomment them if you have
|
# Modify these two values and uncomment them if you have
|
||||||
|
|
Loading…
Reference in a new issue