Configuration of Galera and Gitea

master
Jeff Moe 7 years ago
parent 296944becb
commit c39f4ba568

@ -212,3 +212,6 @@ cd /var/lib/gitea/oca
git clone --mirror https://github.com/OCA/maintainer-tools.git git clone --mirror https://github.com/OCA/maintainer-tools.git
sudo chown -R gitea:gitea /var/lib/gitea/oca/ sudo chown -R gitea:gitea /var/lib/gitea/oca/
# Use latest git
apt install -t stretch-backports git

@ -0,0 +1,12 @@
#!/bin/bash
# forksand-gitea-dump
#
# This backups the gitea files and database to
# /tmp/gitea-dump-XXX/gitea-repo.zip
#
# --tempdir=/foo
set -x
sudo -u gitea gitea dump -c /etc/gitea/gitea.ini

@ -131,3 +131,11 @@ EOF
systemctl restart pen-galera systemctl restart pen-galera
systemctl enable pen-galera.service systemctl enable pen-galera.service
################
# XXX fix on sql1 sql2 sql3 sql4
# For firewall, need to open port 4444 for rsync when cluster node needs to sync up.
-A INPUT -p tcp --dport 4444 -j ACCEPT

Loading…
Cancel
Save