aboutsummaryrefslogtreecommitdiff
path: root/gn/services/gitea-nocontainer.service
blob: 6784e51294f995f38d72b460dd93a1adb80dc986 (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=/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]
WantedBy=multi-user.target