aboutsummaryrefslogtreecommitdiff
path: root/gn/services/gitea.service
diff options
context:
space:
mode:
authorEfraim Flashner2019-11-03 02:52:13 -0600
committerEfraim Flashner2019-11-03 02:52:13 -0600
commitc94a2ab00834214c85be6d9221a598aea4ca8cce (patch)
treeed887e9b6867f162134d16d430aeab8bafc0740c /gn/services/gitea.service
parent0ecb59587ae9abd7227591b3e6706d7f9392a920 (diff)
downloadguix-bioinformatics-c94a2ab00834214c85be6d9221a598aea4ca8cce.tar.gz
gn: Add secondary gitea systemd service
Diffstat (limited to 'gn/services/gitea.service')
-rw-r--r--gn/services/gitea.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn/services/gitea.service b/gn/services/gitea.service
index 3b54f85..ee596dc 100644
--- a/gn/services/gitea.service
+++ b/gn/services/gitea.service
@@ -3,7 +3,8 @@ Description=Gitea git server and web ui
Wants=guix-daemon.service
[Service]
-ExecStart=$(/var/guix/profiles/per-user/efraim/current-guix/bin/guix system container /home/efraimf/workspace/guix-bioinformatics/gn/services/gitea-container.scm --share=/home/efraimf/tmp=/var/lib --network)
+Environment="GITEA_COMMAND=$(/var/guix/profiles/per-user/efraimf/current-guix/bin/guix system container /home/efraimf/workspace/guix-bioinformatics/gn/services/gitea-container.scm --share=/var/lib/git=/var/lib/git --network)"
+ExecStart=/bin/bash -c '${GITEA_COMMAND}'
[Install]
WantedBy=multi-user.target