aboutsummaryrefslogtreecommitdiff
path: root/gn/services/gitea-README
diff options
context:
space:
mode:
authorEfraim Flashner2019-10-29 04:40:00 -0500
committerEfraim Flashner2019-10-29 04:40:00 -0500
commit53d26a57fdee57e3112f59b828f60143041bf5ba (patch)
treef9d7c70b04773f2cccb73ece7ecb59474a716af3 /gn/services/gitea-README
parentcb302acb0e5108c4b5f0a80008725599570e25ec (diff)
downloadguix-bioinformatics-53d26a57fdee57e3112f59b828f60143041bf5ba.tar.gz
gn: Add gitea and service.
* gn/packages/gitea.scm (gita): New variable. * gn/services/gitea-container.scm: New container. * gn/services/gitea.service: Add systemd service.
Diffstat (limited to 'gn/services/gitea-README')
-rw-r--r--gn/services/gitea-README17
1 files changed, 17 insertions, 0 deletions
diff --git a/gn/services/gitea-README b/gn/services/gitea-README
new file mode 100644
index 0000000..51be573
--- /dev/null
+++ b/gn/services/gitea-README
@@ -0,0 +1,17 @@
+SETUP:
+
+The setup process works like this:
+Decide where you want the base directory for gitea
+ for example: /srv/services/gitea
+# mkdir -p /srv/services
+Make the directory itself writable
+# chmod o+w /srv/services
+Decide the user/group you want to own the directory and service and change the container
+$ sed -i 's/1009/<insert-number>/g' gitea-container.scm
+
+for running the service:
+see included gitea.service
+
+for upgrades:
+# guix pull
+# systemctl restart gitea.service