Compare commits

..

8 Commits

View File

@ -71,24 +71,23 @@ the tiedote.md user on this system.")
(mkdir-p socket-directory) (mkdir-p socket-directory)
(chown socket-directory uid gid) (chown socket-directory uid gid)
(make-forkexec-constructor (make-forkexec-constructor
`(#$(file-append tiedote-md "/bin/tiedote.md") (list #$(file-append tiedote-md "/bin/tiedote.md")
"--address" #$email-address "--address" #$email-address
"--sender-name" #$sender-name "--sender-name" #$sender-name
"--sendmail" #$sendmail-path "--sendmail" #$sendmail-path
"--socket" #$socket-path "--socket" #$socket-path
"server" "server"
"--repository" ,repo-path "--repository" repo-path
"--port" #$(number->string port) "--port" #$(number->string port)
"--remote-url" #$remote-url "--remote-url" #$remote-url
,@(if #$(maybe-value-set? remote-branch) ;,@(if #$(maybe-value-set? remote-branch)
(list "--remote-branch" #$remote-branch) ; (list "--remote-branch" #$remote-branch)
'())) ; '())
)
#:user "tiedote.md" #:user "tiedote.md"
#:group "tiedote.md" #:group "tiedote.md"
#:environment-variables #:environment (cons "GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt"
(cons* "GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt" (default-environment-variable))
"LC_ALL=C.utf8"
(default-environment-variables))
#:directory #$state-directory)))) #:directory #$state-directory))))
(stop #~(make-kill-destructor)))))) (stop #~(make-kill-destructor))))))