diff options
author | Efraim Flashner | 2019-12-18 03:45:47 -0600 |
---|---|---|
committer | Efraim Flashner | 2019-12-18 03:45:47 -0600 |
commit | 46d8eb7a51f785a1ecd00debfedd23610257bb63 (patch) | |
tree | e0406624186485712f0c97fff1b36173fce9ca38 | |
parent | 7011f3389300bc08743c88a8a446be461e44072c (diff) | |
download | guix-bioinformatics-46d8eb7a51f785a1ecd00debfedd23610257bb63.tar.gz |
services: use installed gitea
-rw-r--r-- | gn/services/gitea-dump.service | 2 | ||||
-rw-r--r-- | 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] |