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
|
@ -3,7 +3,7 @@
|
|||
|
||||
function test_packages_alpine_version() {
|
||||
local alpine_version=$1 forgejo_version=$2
|
||||
stop_daemon forgejo
|
||||
stop_forgejo
|
||||
reset_forgejo $PACKAGES_DIR/alpine-app.ini
|
||||
start_forgejo $forgejo_version
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue