SPN: Set SPN binary path
This commit is contained in:
@@ -94,6 +94,9 @@ func initializeGlobals(cmd *cobra.Command, args []string) {
|
|||||||
"https://updates.safing.io/spn-support.v3.json",
|
"https://updates.safing.io/spn-support.v3.json",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
binDir = "/opt/safing/spn"
|
||||||
|
dataDir = "/opt/safing/spn"
|
||||||
|
|
||||||
// Configure service.
|
// Configure service.
|
||||||
cmdbase.SvcFactory = func(svcCfg *service.ServiceConfig) (cmdbase.ServiceInstance, error) {
|
cmdbase.SvcFactory = func(svcCfg *service.ServiceConfig) (cmdbase.ServiceInstance, error) {
|
||||||
svc, err := spn.New(svcCfg)
|
svc, err := spn.New(svcCfg)
|
||||||
|
|||||||
Reference in New Issue
Block a user