mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +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
|
||||
-------------
|
||||
|
||||
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
|
||||
``DB_TYPE`` property in ``/etc/gitea/app.ini`` [1] and change the line ``After=mysqld.service``
|
||||
in ``/etc/systemd/system/gitea.service`` [2] to one of the following:
|
||||
``DB_TYPE`` property in ``/etc/gitea/app.ini`` [1] and add one of the following
|
||||
lines to the ``[Unit]`` section of ``/etc/systemd/system/gitea.service`` [2]:
|
||||
|
||||
* SQLite: comment it out.
|
||||
* Postgres: ``After=postgresql.service``
|
||||
* MySQL: ``After=mysqld.service``
|
||||
* PostgreSQL: ``After=postgresql.service``
|
||||
|
||||
[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)
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
After=mysqld.service
|
||||
|
||||
[Service]
|
||||
# Modify these two values and uncomment them if you have
|
||||
|
|
Loading…
Reference in a new issue