xx@root:~/code$ ~/.go/bin/riotpot
░▒▓███ RIoIPot ███▓▒░
[+] Found 0 plugins
[+] Allowed plugins: [httpd echod sshd telnetd mqttd coapd modbusd]
service not found: Httpdpanic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x901fbb]
goroutine 1 [running]:
github.com/riotpot/internal/configuration.(*Autopilot).Start(0xc0002646c0)
/home/xx/code/riotpot/internal/configuration/autopilot.go:46 +0x11b
main.main()
/home/xx/code/riotpot/cmd/riotpot/main.go:37 +0x37c
From the documentation, if building locally then 'go install' should put the riotpot binary in GOBIN path, from there user should be able to run it. But there is a problem with static files such as configs/samples/profile.yml, configs/samples/configuration.yml followed by the static plugin files.
.yml files can be taken care by using "github.com/gobuffalo/packr" library. Exploring the plugins option now...
From the documentation, if building locally then 'go install' should put the riotpot binary in GOBIN path, from there user should be able to run it. But there is a problem with static files such as configs/samples/profile.yml, configs/samples/configuration.yml followed by the static plugin files.
.yml files can be taken care by using "github.com/gobuffalo/packr" library. Exploring the plugins option now...