Remove unneeded fields from gts service
This commit is contained in:
parent
326bc8dbce
commit
ce5f3477cd
|
@ -1,6 +1,5 @@
|
||||||
(define-module (kulupu packages gotosocial)
|
(define-module (kulupu packages gotosocial)
|
||||||
#:use-module ((guix licenses)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:prefix license:)
|
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages golang)
|
#:use-module (gnu packages golang)
|
||||||
#:use-module (gnu packages shells)
|
#:use-module (gnu packages shells)
|
||||||
|
|
|
@ -39,12 +39,6 @@
|
||||||
(run-dir
|
(run-dir
|
||||||
(string "/var/run/gotosocial")
|
(string "/var/run/gotosocial")
|
||||||
"GTS runtime directory")
|
"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
|
(database-type
|
||||||
(string "sqlite")
|
(string "sqlite")
|
||||||
"Database type to use, default to sqlite")
|
"Database type to use, default to sqlite")
|
||||||
|
@ -54,7 +48,7 @@
|
||||||
|
|
||||||
(define (gotosocial-shepherd-service config)
|
(define (gotosocial-shepherd-service config)
|
||||||
(match-record config <gotosocial-configuration>
|
(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"))
|
(let* ((gts (file-append gotosocial "/bin/gotosocial"))
|
||||||
(gts-frontend-assets (file-append gotosocial-frontend "/gotosocial/web/assets"))
|
(gts-frontend-assets (file-append gotosocial-frontend "/gotosocial/web/assets"))
|
||||||
(gts-frontend-templates (file-append gotosocial-frontend "/gotosocial/web/template"))
|
(gts-frontend-templates (file-append gotosocial-frontend "/gotosocial/web/template"))
|
||||||
|
|
Loading…
Reference in New Issue