blob: b18e2359e151f3af177c0016e647eccf233bb265 (
plain)
1
2
3
4
5
6
7
8
9
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
|