aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
Diffstat (limited to 'gn')
-rw-r--r--gn/services/gitea-dump.service2
-rw-r--r--gn/services/gitea-nocontainer.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/gn/services/gitea-dump.service b/gn/services/gitea-dump.service
index b9b310d..c177334 100644
--- a/gn/services/gitea-dump.service
+++ b/gn/services/gitea-dump.service
@@ -4,7 +4,7 @@ Wants=gitea.service
[Service]
Type=oneshot
-Environment="GITEA_COMMAND=$(GUIX_PACKAGE_PATH=/home/efraimf/workspace/guix-bioinformatics /var/guix/profiles/per-user/efraimf/current-guix/bin/guix build gitea)/bin/gitea"
+Environment="GITEA_COMMAND=/usr/local/guix-profiles/gitea/bin/gitea"
ExecStart=/bin/su -l gitea -c 'GITEA_WORK_DIR=/var/lib/git/gitea HOME=/var/lib/git/gitea ${GITEA_COMMAND} dump'
[Install]
diff --git a/gn/services/gitea-nocontainer.service b/gn/services/gitea-nocontainer.service
index b18e235..6784e51 100644
--- a/gn/services/gitea-nocontainer.service
+++ b/gn/services/gitea-nocontainer.service
@@ -3,7 +3,7 @@ Description=Gitea git server and web ui
Wants=guix-daemon.service
[Service]
-Environment="GITEA_COMMAND=$(GUIX_PACKAGE_PATH=/home/efraimf/workspace/guix-bioinformatics /var/guix/profiles/per-user/efraimf/current-guix/bin/guix build gitea)/bin/gitea"
+Environment="GITEA_COMMAND=/usr/local/guix-profiles/gitea/bin/gitea"
ExecStart=/bin/su -l gitea -c 'GITEA_WORK_DIR=/var/lib/git/gitea HOME=/var/lib/git/gitea ${GITEA_COMMAND} --port 3300'
[Install]