Add subsystems and clean up module dependencies
This commit is contained in:
8
main.go
8
main.go
@@ -7,6 +7,7 @@ import (
|
||||
"github.com/safing/portbase/run"
|
||||
|
||||
// include packages here
|
||||
_ "github.com/safing/portbase/modules/subsystems"
|
||||
_ "github.com/safing/portmaster/core"
|
||||
_ "github.com/safing/portmaster/firewall"
|
||||
_ "github.com/safing/portmaster/nameserver"
|
||||
@@ -14,13 +15,6 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
/*go func() {
|
||||
time.Sleep(10 * time.Second)
|
||||
fmt.Fprintln(os.Stderr, "===== TAKING TOO LONG FOR SHUTDOWN - PRINTING STACK TRACES =====")
|
||||
_ = pprof.Lookup("goroutine").WriteTo(os.Stderr, 2)
|
||||
os.Exit(1)
|
||||
}()*/
|
||||
|
||||
info.Set("Portmaster", "0.3.9", "AGPLv3", true)
|
||||
os.Exit(run.Run())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user