Add postgres requirement for gotosocial service

This commit is contained in:
TakeV 2023-07-24 00:06:28 -07:00
parent bd32605d84
commit ec9185f503
Signed by: TakeV
GPG Key ID: A64F41345C7400AF
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@
(let* ((gts (file-append gotosocial "/bin/gotosocial")))
(list (shepherd-service
(documentation "Run GoToSocial")
(requirement '(networking))
(requirement `(networking ,@(if postgres? '(postgres) '())))
(provision '(gotosocial))
(start #~(make-forkexec-constructor
(list