From 46d8eb7a51f785a1ecd00debfedd23610257bb63 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 18 Dec 2019 03:45:47 -0600 Subject: services: use installed gitea --- gn/services/gitea-dump.service | 2 +- gn/services/gitea-nocontainer.service | 2 +- 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] -- cgit v1.2.3