diff --git a/cmd/common.go b/cmd/common.go index 80a19f963..e334fc1fa 100644 --- a/cmd/common.go +++ b/cmd/common.go @@ -5,10 +5,19 @@ import ( "path/filepath" "strconv" + "github.com/OpenListTeam/OpenList/v4/internal/bootstrap" "github.com/OpenListTeam/OpenList/v4/pkg/utils" log "github.com/sirupsen/logrus" ) +func Init() { + bootstrap.Init() +} + +func Release() { + bootstrap.Release() +} + var pid = -1 var pidFile string