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:
parent
4a19e9c90b
commit
2461666aca
3 changed files with 35 additions and 17 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue