aboutsummaryrefslogtreecommitdiff
path: root/gn/services/gitea-container.scm
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-container.scm
parent0ecb59587ae9abd7227591b3e6706d7f9392a920 (diff)
downloadguix-bioinformatics-c94a2ab00834214c85be6d9221a598aea4ca8cce.tar.gz
gn: Add secondary gitea systemd service
Diffstat (limited to 'gn/services/gitea-container.scm')
-rw-r--r--gn/services/gitea-container.scm16
1 files changed, 8 insertions, 8 deletions
diff --git a/gn/services/gitea-container.scm b/gn/services/gitea-container.scm
index bc861c0..2deb7bf 100644
--- a/gn/services/gitea-container.scm
+++ b/gn/services/gitea-container.scm
@@ -6,7 +6,7 @@
(ice-9 match))
(use-service-modules base networking shepherd)
-(define %GITEA_WORK_DIR "/var/lib/gitea")
+(define %GITEA_WORK_DIR "/var/lib/git/gitea")
(define-record-type* <gitea-configuration>
gitea-configuration
make-gitea-configuration
@@ -16,7 +16,7 @@
(work-dir gitea-configuration-work-dir ; string
(default %GITEA_WORK_DIR))
(port gitea-configuration-port ; number
- (default 3001)))
+ (default 3300)))
(define gitea-activation
(match-lambda
@@ -47,7 +47,7 @@
(list (string-append "GITEA_WORK_DIR=" #$work-dir)
(string-append "HOME=" #$work-dir))
#:user "gitea"
- #:group "gitea"))
+ #:group "git"))
(stop #~(make-kill-destructor)))))))
(define gitea-service-type
@@ -80,14 +80,14 @@
(users (cons (user-account
(name "gitea")
(group "gitea")
- (system? #t)
- (uid 1009))
+ ;(system? #t)
+ (uid 1021))
%base-user-accounts))
(groups (cons (user-group
- (name "gitea")
- (system? #t)
- (id 1009))
+ (name "git")
+ ;(system? #t)
+ (id 998))
%base-groups))
(services (list (service dhcp-client-service-type)