aboutsummaryrefslogtreecommitdiff
path: root/gn/services/gitea.service
diff options
context:
space:
mode:
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