aboutsummaryrefslogtreecommitdiff
path: root/run_gitea.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run_gitea.sh')
-rwxr-xr-xrun_gitea.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/run_gitea.sh b/run_gitea.sh
index 40d4f73..472bef4 100755
--- a/run_gitea.sh
+++ b/run_gitea.sh
@@ -1,2 +1,5 @@
#!/bin/sh
-/bin/su -l gitea -c 'GITEA_WORK_DIR=/export/git/gitea HOME=/export/git/gitea $(/home/shepherd/guix-profiles/gitea/bin/guix build -L /home/shepherd/guix-bioinformatics gitea)/bin/gitea --port 3300'
+# This version for the gitea guix profile which includes guix-bioinformatics, using gitea-channels.scm.
+/bin/su -l gitea -c 'GITEA_WORK_DIR=/export/git/gitea HOME=/export/git/gitea /home/shepherd/guix-profiles/gitea/bin/guix environment --ad-hoc gitea -- gitea --port 3300'
+
+#/bin/su -l gitea -c 'GITEA_WORK_DIR=/export/git/gitea HOME=/export/git/gitea $(/home/shepherd/guix-profiles/gitea/bin/guix build -L /home/shepherd/guix-bioinformatics gitea)/bin/gitea --port 3300'