minor fixes

This commit is contained in:
Miguel Muniz 2024-07-22 09:06:20 -07:00
parent e8672ca2a6
commit 381420ad50
11 changed files with 675 additions and 4 deletions

View file

@ -31,6 +31,7 @@ chown -R gitea:gitea /var/lib/gitea/
chmod -R 750 /var/lib/gitea/
chown root:gitea /etc/gitea
chmod 770 /etc/gitea
msg_ok "Installed Gitea"
cat <<EOF >/etc/systemd/system/gitea.service
[Unit]
@ -59,10 +60,9 @@ AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now gitea
msg_ok "Installed Gitea"
msg_ok "Created Service"
motd_ssh
customize