Commit Graph

8 Commits

Author SHA1 Message Date
69286e36fd
use a writable directory for backups and logs
and remove --work-path switch: WORK_PATH parameter is defined within
/etc/gitea/gitea.ini
2024-04-07 00:11:30 +02:00
2bfa4d5101
Fix chown warning: '.' should be ':': « gitea.gitea » 2024-04-07 00:09:11 +02:00
3c28a545d7
use a switch instead of an environment variable
the switch is more reliable (the migrate step would fail if the switch
was removed, the step would not fail if the environment variable was
ignored).
2022-03-09 02:34:01 +01:00
2f6bbf644f
upgrade script: dump gitea db with pg_dump
the dump generated by gitea is unusable (an import of a 100Mb dump
takes ~40 hours).

Reuse the BINDIR variable.
2022-03-09 02:33:20 +01:00
b64058ff43
upgrade script: add 'check' step 2022-03-09 02:33:17 +01:00
3cdf79e896
'upgrade' step: run the migrate command first 2022-03-06 05:41:47 +01:00
e929d49715
set permissions for the executable after downloading it 2022-03-06 05:39:34 +01:00
513e8085dc
Add an upgrade shell script for Gitea 2022-02-23 20:45:34 +01:00