mirror of
https://github.com/safing/portbase
synced 2025-09-04 03:29:59 +00:00
Reintroduce base module
This commit is contained in:
parent
ddb04a8548
commit
7ab46a8d1e
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ func init() {
|
||||||
modules.EnableModuleManagement(handleModuleChanges)
|
modules.EnableModuleManagement(handleModuleChanges)
|
||||||
|
|
||||||
// register module and enable it for starting
|
// register module and enable it for starting
|
||||||
module = modules.Register("subsystems", prep, start, nil, "config", "database")
|
module = modules.Register("subsystems", prep, start, nil, "config", "database", "base")
|
||||||
module.Enable()
|
module.Enable()
|
||||||
|
|
||||||
// register event for changes in the subsystem
|
// register event for changes in the subsystem
|
||||||
|
|
|
@ -11,7 +11,7 @@ var (
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
module = modules.Register("notifications", nil, start, nil, "database")
|
module = modules.Register("notifications", nil, start, nil, "database", "base")
|
||||||
}
|
}
|
||||||
|
|
||||||
func start() error {
|
func start() error {
|
||||||
|
|
Loading…
Add table
Reference in a new issue