lib: use the WORK_PATH base instead of forgejo for the daemon

Instead of hardcoding "forgejo" as the base for the daemon to store
the PID and the logs, use the base of the WORK_PATH so that a given
work path can run a dedicated forgejo instance by the same name.
This commit is contained in:
Earl Warren 2024-06-04 13:04:05 +02:00
parent 4a19e9c90b
commit 2461666aca
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 35 additions and 17 deletions

View file

@ -74,7 +74,7 @@ function actions_setup() {
function actions_teardown() {
forgejo-curl.sh logout
forgejo-runner.sh teardown
stop_daemon forgejo
stop_forgejo
}
function actions_runner_version() {