diff options
author | Efraim Flashner | 2019-11-03 02:52:13 -0600 |
---|---|---|
committer | Efraim Flashner | 2019-11-03 02:52:13 -0600 |
commit | c94a2ab00834214c85be6d9221a598aea4ca8cce (patch) | |
tree | ed887e9b6867f162134d16d430aeab8bafc0740c /gn/services/gitea-nocontainer.service | |
parent | 0ecb59587ae9abd7227591b3e6706d7f9392a920 (diff) | |
download | guix-bioinformatics-c94a2ab00834214c85be6d9221a598aea4ca8cce.tar.gz |
gn: Add secondary gitea systemd service
Diffstat (limited to 'gn/services/gitea-nocontainer.service')
-rw-r--r-- | gn/services/gitea-nocontainer.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gn/services/gitea-nocontainer.service b/gn/services/gitea-nocontainer.service new file mode 100644 index 0000000..b18e235 --- /dev/null +++ b/gn/services/gitea-nocontainer.service @@ -0,0 +1,10 @@ +[Unit] +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" +ExecStart=/bin/su -l gitea -c 'GITEA_WORK_DIR=/var/lib/git/gitea HOME=/var/lib/git/gitea ${GITEA_COMMAND} --port 3300' + +[Install] +WantedBy=multi-user.target |