services: forgejo: Use a consistent launching path.

Otherwise there'll be launching issue due to path change.

* modules/rosenthal/services/web.scm (forgejo-shepherd-service) [start]:
Launch forgejo from system profile instead of the store.
This commit is contained in:
Hilton Chain 2026-04-11 20:39:11 +08:00
parent f729ee2641
commit cc5a4a0baa
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292

View File

@ -327,7 +327,7 @@
(requirement '(loopback postgresql))
(start
#~(make-forkexec-constructor
(list #$(file-append forgejo "/bin/forgejo")
(list "/run/current-system/profile/bin/forgejo"
"--config" #$config-file)
#:user "forgejo"
#:group "forgejo"