Remove unneeded fields from gts service

This commit is contained in:
TakeV 2023-07-23 02:01:07 -07:00
parent 326bc8dbce
commit ce5f3477cd
Signed by: TakeV
GPG Key ID: A64F41345C7400AF
2 changed files with 2 additions and 9 deletions

View File

@ -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)

View File

@ -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"))