mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Reflect that SQLite is the default DBMS
Signed-off-by: Aidan Fitzgerald <acf67@cornell.edu>
This commit is contained in:
parent
23286e14b3
commit
5146762c9d
2 changed files with 5 additions and 6 deletions
|
@ -12,13 +12,13 @@ Gitea should be accessible at: http://box/gitea
|
||||||
Configuration
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
Gitea has been configured to work with MySQL; it can also be used with SQLite or
|
Gitea has been configured to work with SQLite; it can also be used with MySQL or
|
||||||
PostgreSQL. If you want to use it with a different database, change the
|
PostgreSQL. If you want to use it with a different database, change the
|
||||||
``DB_TYPE`` property in ``/etc/gitea/app.ini`` [1] and change the line ``After=mysqld.service``
|
``DB_TYPE`` property in ``/etc/gitea/app.ini`` [1] and add one of the following
|
||||||
in ``/etc/systemd/system/gitea.service`` [2] to one of the following:
|
lines to the ``[Unit]`` section of ``/etc/systemd/system/gitea.service`` [2]:
|
||||||
|
|
||||||
* SQLite: comment it out.
|
* MySQL: ``After=mysqld.service``
|
||||||
* Postgres: ``After=postgresql.service``
|
* PostgreSQL: ``After=postgresql.service``
|
||||||
|
|
||||||
[1] Prior to installing Gitea, instead edit: ``/opt/iiab/iiab/roles/gitea/templates/app.ini.j2``
|
[1] Prior to installing Gitea, instead edit: ``/opt/iiab/iiab/roles/gitea/templates/app.ini.j2``
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
Description=Gitea (Git with a cup of tea)
|
Description=Gitea (Git with a cup of tea)
|
||||||
After=syslog.target
|
After=syslog.target
|
||||||
After=network.target
|
After=network.target
|
||||||
After=mysqld.service
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# Modify these two values and uncomment them if you have
|
# Modify these two values and uncomment them if you have
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue