SPN: Set SPN binary path

This commit is contained in:
Natanael Rodriguez Ramos
2025-04-24 17:54:19 +01:00
parent 9801aae3e7
commit 1ed4cba1e1

View File

@@ -94,6 +94,9 @@ func initializeGlobals(cmd *cobra.Command, args []string) {
"https://updates.safing.io/spn-support.v3.json",
}
binDir = "/opt/safing/spn"
dataDir = "/opt/safing/spn"
// Configure service.
cmdbase.SvcFactory = func(svcCfg *service.ServiceConfig) (cmdbase.ServiceInstance, error) {
svc, err := spn.New(svcCfg)