aboutsummaryrefslogtreecommitdiff
path: root/gn/services/gitea.service
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.service
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.service')
-rw-r--r--gn/services/gitea.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/gn/services/gitea.service b/gn/services/gitea.service
new file mode 100644
index 0000000..3b54f85
--- /dev/null
+++ b/gn/services/gitea.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Gitea git server and web ui
+Wants=guix-daemon.service
+
+[Service]
+ExecStart=$(/var/guix/profiles/per-user/efraim/current-guix/bin/guix system container /home/efraimf/workspace/guix-bioinformatics/gn/services/gitea-container.scm --share=/home/efraimf/tmp=/var/lib --network)
+
+[Install]
+WantedBy=multi-user.target