Remove unneeded fields from gts service
This commit is contained in:
parent
0c01e7cf52
commit
8c34be5660
|
@ -1,6 +1,5 @@
|
|||
(define-module (kulupu packages gotosocial)
|
||||
#:use-module ((guix licenses)
|
||||
#:prefix license:)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages golang)
|
||||
#:use-module (gnu packages shells)
|
||||
|
|
|
@ -39,12 +39,6 @@
|
|||
(run-dir
|
||||
(string "/var/run/gotosocial")
|
||||
"GTS runtime directory")
|
||||
(storage-dir
|
||||
(string "/var/lib/gotosocial/storage")
|
||||
"Path to directory used for storage")
|
||||
(cert-dir
|
||||
(string "/var/lib/gotosocial/storage/certs")
|
||||
"Location of cert directory to use")
|
||||
(database-type
|
||||
(string "sqlite")
|
||||
"Database type to use, default to sqlite")
|
||||
|
@ -54,7 +48,7 @@
|
|||
|
||||
(define (gotosocial-shepherd-service config)
|
||||
(match-record config <gotosocial-configuration>
|
||||
(gotosocial gotosocial-frontend config-file port work-dir run-dir cert-dir storage-dir host database-type database-address)
|
||||
(gotosocial gotosocial-frontend config-file port work-dir run-dir host database-type database-address)
|
||||
(let* ((gts (file-append gotosocial "/bin/gotosocial"))
|
||||
(gts-frontend-assets (file-append gotosocial-frontend "/gotosocial/web/assets"))
|
||||
(gts-frontend-templates (file-append gotosocial-frontend "/gotosocial/web/template"))
|
||||
|
|
Loading…
Reference in a new issue