aboutsummaryrefslogtreecommitdiff
path: root/gn/services/gitea-dump.service
diff options
context:
space:
mode:
authorEfraim Flashner2019-12-18 03:45:47 -0600
committerEfraim Flashner2019-12-18 03:45:47 -0600
commit46d8eb7a51f785a1ecd00debfedd23610257bb63 (patch)
treee0406624186485712f0c97fff1b36173fce9ca38 /gn/services/gitea-dump.service
parent7011f3389300bc08743c88a8a446be461e44072c (diff)
downloadguix-bioinformatics-46d8eb7a51f785a1ecd00debfedd23610257bb63.tar.gz
services: use installed gitea
Diffstat (limited to 'gn/services/gitea-dump.service')
-rw-r--r--gn/services/gitea-dump.service2
1 files changed, 1 insertions, 1 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]